--- a/common/corpus-common-addon/.travis.yml Tue Nov 08 18:23:01 2016 +0100
+++ b/common/corpus-common-addon/.travis.yml Wed Nov 09 15:05:41 2016 +0100
@@ -1,7 +1,7 @@
---
language: node_js
node_js:
- - "0.12"
+ - "4"
sudo: false
@@ -10,8 +10,9 @@
- node_modules
env:
- - EMBER_TRY_SCENARIO=default
- - EMBER_TRY_SCENARIO=ember-1-13
+ # we recommend testing LTS's and latest stable release (bonus points to beta/canary)
+ - EMBER_TRY_SCENARIO=ember-1.13
+ - EMBER_TRY_SCENARIO=ember-lts-2.4
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
@@ -22,14 +23,17 @@
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- - export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- - "npm config set spin false"
- - "npm install -g npm@^2"
+ - 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 -g bower
- npm install
- bower install
script:
- - ember try $EMBER_TRY_SCENARIO test
+ # Usually, it's ok to finish the test scenario without reverting
+ # to the addon's original dependency state, skipping "cleanup".
+ - ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup