diff --git a/.travis.yml b/.travis.yml index a29c0837..e51e07c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,7 @@ sudo: required dist: trusty language: node_js node_js: - - "4" - -cache: - directories: - - node_modules - - bower_components + - "6" env: - EMBER_TRY_SCENARIO=default @@ -22,21 +17,28 @@ matrix: allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary +cache: + directories: + - node_modules + +addons: + apt: + sources: + - google-chrome + packages: + - google-chrome-stable + before_install: - - export CHROME_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 - - npm config set spin false +before_install: + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" + - "npm config set spin false" - npm install -g bower - bower --version install: - - npm install - bower install + - npm install script: # Usually, it's ok to finish the test scenario without reverting