diff --git a/.travis.yml b/.travis.yml index 00c58228..0118780f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/testem.js b/testem.js index 8c56a4a5..cd4ce9af 100644 --- a/testem.js +++ b/testem.js @@ -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" ] };