@@ -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- - " 6 "
6+ - ' 6 '
77
88sudo : required
99dist : trusty
1818 global :
1919 # See https://git.io/vdao3 for details.
2020 - JOBS=1
21- matrix :
21+
22+ branches :
23+ only :
24+ - master
25+ # npm version tags
26+ - /^v\d+\.\d+\.\d+/
27+
28+ jobs :
29+ fail_fast : true
30+ allow_failures :
31+ - env : EMBER_TRY_SCENARIO=ember-canary
32+
33+ include :
34+ # runs linting and tests with current locked deps
35+
36+ - stage : ' Tests'
37+ name : ' Tests'
38+ script :
39+ - yarn run lint:hbs
40+ - yarn run lint:js
41+ - yarn test
42+
2243 # we recommend new addons test the current and previous LTS
2344 # as well as latest stable release (bonus points to beta/canary)
24- - EMBER_TRY_SCENARIO=ember-lts-2.12
25- - EMBER_TRY_SCENARIO=ember-lts-2.16
26- - EMBER_TRY_SCENARIO=ember-lts-2.18
27- - EMBER_TRY_SCENARIO=ember-release
28- - EMBER_TRY_SCENARIO=ember-beta
29- - EMBER_TRY_SCENARIO=ember-canary
30- - EMBER_TRY_SCENARIO=ember-default
31-
32- matrix :
33- fast_finish : true
34- allow_failures :
45+ - stage : ' Additional Tests'
46+ env : EMBER_TRY_SCENARIO=ember-lts-2.16
47+ - env : EMBER_TRY_SCENARIO=ember-lts-2.18
48+ - env : EMBER_TRY_SCENARIO=ember-release
49+ - env : EMBER_TRY_SCENARIO=ember-beta
3550 - env : EMBER_TRY_SCENARIO=ember-canary
51+ - env : EMBER_TRY_SCENARIO=ember-default-with-jquery
3652
3753before_install :
3854 - curl -o- -L https://yarnpkg.com/install.sh | bash
@@ -42,7 +58,4 @@ install:
4258 - yarn install --no-lockfile --non-interactive
4359
4460script :
45- - npm run lint:js
46- # Usually, it's ok to finish the test scenario without reverting
47- # to the addon's original dependency state, skipping "cleanup".
48- - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --skip-cleanup
61+ - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO
0 commit comments