44 # we recommend testing addons with the same minimum supported node version as Ember CLI
55 # so that your addon works for all apps
66 - " 6"
7+ - " 8"
8+ - " 10"
79
810sudo : false
911dist : trusty
1921 global :
2022 # See https://git.io/vdao3 for details.
2123 - JOBS=1
22- matrix :
24+
25+ jobs :
26+ fail_fast : true
27+ allow_failures :
28+ - env : EMBER_TRY_SCENARIO=ember-canary
29+
30+ include :
31+ # runs linting and tests with current locked deps
32+
33+ - stage : " Tests"
34+ name : " Tests"
35+ install :
36+ - yarn install --non-interactive
37+ script :
38+ - yarn lint:js
39+ - yarn test
40+ - yarn test:node
41+
42+ - name : " Floating Dependencies"
43+ script :
44+ - yarn test
45+
2346 # we recommend new addons test the current and previous LTS
2447 # as well as latest stable release (bonus points to beta/canary)
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 :
48+ - stage : " Additional Tests"
49+ env : EMBER_TRY_SCENARIO=ember-lts-2.16
50+ - env : EMBER_TRY_SCENARIO=ember-lts-2.18
51+ - env : EMBER_TRY_SCENARIO=ember-release
52+ - env : EMBER_TRY_SCENARIO=ember-beta
3553 - env : EMBER_TRY_SCENARIO=ember-canary
54+ - env : EMBER_TRY_SCENARIO=ember-default-with-jquery
3655
3756before_install :
3857 - curl -o- -L https://yarnpkg.com/install.sh | bash
@@ -42,8 +61,4 @@ install:
4261 - yarn install --no-lockfile --non-interactive
4362
4463script :
45- - yarn lint:js
46- - yarn test:node
47- # Usually, it's ok to finish the test scenario without reverting
48- # to the addon's original dependency state, skipping "cleanup".
49- - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --skip-cleanup
64+ - node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO
0 commit comments