Skip to content

Commit

Permalink
ci: use chrome on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed Jul 21, 2017
1 parent 6f23636 commit 861b32b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
dist: trusty
sudo: false

addons:
chrome: stable

language: node_js

cache:
Expand Down Expand Up @@ -90,9 +93,8 @@ matrix:

before_install:
# Use a virtual display.
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CHROME_BIN=chromium-browser; fi
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Install yarn.
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
Expand Down

0 comments on commit 861b32b

Please sign in to comment.