Skip to content

Commit

Permalink
Update travis.yml for using Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
kategengler committed Sep 29, 2016
1 parent e83b751 commit e93b450
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ node_js:
- "4.2"
- "5"

sudo: false
dist: trusty
sudo: required

addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable


cache:
directories:
Expand All @@ -27,7 +36,8 @@ matrix:
env: NPM_SCRIPT=node-test-with-coverage

before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "npm config set spin false"
- "npm install -g npm@^2"

Expand Down

0 comments on commit e93b450

Please sign in to comment.