Skip to content

Commit

Permalink
[testing] Use Chrome, not PhantomJS
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Singh committed Aug 15, 2016
1 parent 9b0be62 commit 2ab5a56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ language: node_js
node_js:
- "4"

before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb

sudo: false

cache:
Expand Down
3 changes: 1 addition & 2 deletions testem.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ module.exports = {
"test_page": "tests/index.html?hidepassed&nolint",
"disable_watching": true,
"launch_in_ci": [
"PhantomJS"
"Chrome"
],
"launch_in_dev": [
"PhantomJS",
"Chrome"
]
};

0 comments on commit 2ab5a56

Please sign in to comment.