Skip to content

Commit 861b32b

Browse files
committed
ci: use chrome on travis
1 parent 6f23636 commit 861b32b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: .travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
dist: trusty
22
sudo: false
33

4+
addons:
5+
chrome: stable
6+
47
language: node_js
58

69
cache:
@@ -90,9 +93,8 @@ matrix:
9093

9194
before_install:
9295
# Use a virtual display.
93-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
94-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
95-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi
96+
- export DISPLAY=:99.0
97+
- sh -e /etc/init.d/xvfb start
9698
# Install yarn.
9799
- curl -o- -L https://yarnpkg.com/install.sh | bash
98100
- export PATH="$HOME/.yarn/bin:$PATH"

0 commit comments

Comments
 (0)