@@ -3,7 +3,7 @@ language: node_js
33node_js :
44 # we recommend testing addons with the same minimum supported node version as Ember CLI
55 # so that your addon works for all apps
6- - " 4 "
6+ - " 6 "
77
88sudo : false
99dist : trusty
1919 global :
2020 # See https://git.io/vdao3 for details.
2121 - JOBS=1
22- matrix :
22+
23+ branches :
24+ only :
25+ - master
26+ # npm version tags
27+ - /^v\d+\.\d+\.\d+/
28+
29+ jobs :
30+ fail_fast : true
31+ allow_failures :
32+ - env : EMBER_TRY_SCENARIO=ember-canary
33+
34+ include :
35+ # runs linting and tests with current locked deps
36+
37+ - stage : " Tests"
38+ name : " Tests"
39+ script :
40+ - npm run lint:hbs
41+ - npm run lint:js
42+ - npm test
43+
2344 # we recommend new addons test the current and previous LTS
2445 # as well as latest stable release (bonus points to beta/canary)
25- - EMBER_TRY_SCENARIO=ember-lts-2.12
26- - EMBER_TRY_SCENARIO=ember-lts-2.16
27- - EMBER_TRY_SCENARIO=ember-lts-2.18
28- - EMBER_TRY_SCENARIO=ember-release
29- - EMBER_TRY_SCENARIO=ember-beta
30- - EMBER_TRY_SCENARIO=ember-canary
31- - EMBER_TRY_SCENARIO=ember-default
32-
33- matrix :
34- fast_finish : true
35- allow_failures :
46+ - stage : " Additional Tests"
47+ env : EMBER_TRY_SCENARIO=ember-lts-2.18
48+ - env : EMBER_TRY_SCENARIO=ember-lts-3.4
49+ - env : EMBER_TRY_SCENARIO=ember-release
50+ - env : EMBER_TRY_SCENARIO=ember-beta
3651 - env : EMBER_TRY_SCENARIO=ember-canary
52+ - env : EMBER_TRY_SCENARIO=ember-default-with-jquery
3753
3854before_install :
3955 - npm config set spin false
4056 - npm install -g npm@4
4157 - npm --version
4258
4359script :
44- - npm run lint:js
45- # Usually, it's ok to finish the test scenario without reverting
46- # to the addon's original dependency state, skipping "cleanup".
47- - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --skip-cleanup
60+ - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO
0 commit comments