From d71841efb6fca01949cf9a32be0ed9b0ae6f0124 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Tue, 4 Oct 2016 12:57:40 -0400 Subject: [PATCH] Switch back to PhantomJS for Travis --- .travis.yml | 17 +++-------------- testem.js | 2 +- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23faa2b750..ac9eaa18e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,29 +3,18 @@ language: node_js node_js: - "4" -dist: trusty -sudo: required - -addons: - apt: - sources: - - google-chrome - packages: - - google-chrome-stable +sudo: false cache: directories: - node_modules -matrix: - fast_finish: true - before_install: - - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start" - npm config set spin false - npm install -g bower - bower --version + - npm install phantomjs-prebuilt + - node_modules/phantomjs-prebuilt/bin/phantomjs --version install: - npm install diff --git a/testem.js b/testem.js index cf056bd1b0..3c30ad02e1 100644 --- a/testem.js +++ b/testem.js @@ -4,7 +4,7 @@ module.exports = { "test_page": "tests/index.html?hidepassed", "disable_watching": true, "launch_in_ci": [ - "Chrome" + "PhantomJS" ], "launch_in_dev": [ "Chrome"