@@ -12,8 +12,7 @@ addons:
1212 chrome : stable
1313
1414cache :
15- directories :
16- - $HOME/.npm
15+ yarn : true
1716
1817env :
1918 global :
@@ -31,24 +30,36 @@ jobs:
3130 - stage : " Tests"
3231 name : " Tests"
3332 script :
34- - npm run lint:hbs
35- - npm run lint:js
36- - npm test
33+ - yarn lint:hbs
34+ - yarn lint:js
35+ - yarn test
36+ - name : " Floating Dependencies"
37+ install :
38+ - yarn install --no-lockfile --non-interactive
39+ script :
40+ - yarn test
41+
3742
3843 # we recommend new addons test the current and previous LTS
3944 # as well as latest stable release (bonus points to beta/canary)
4045 - stage : " Additional Tests"
41- env : EMBER_TRY_SCENARIO=ember-lts-2.16
46+ env : EMBER_TRY_SCENARIO=ember-1.13
47+ - env : EMBER_TRY_SCENARIO=ember-lts-2.4
48+ - env : EMBER_TRY_SCENARIO=ember-lts-2.8
49+ - env : EMBER_TRY_SCENARIO=ember-lts-2.12
50+ - env : EMBER_TRY_SCENARIO=ember-lts-2.16
4251 - env : EMBER_TRY_SCENARIO=ember-lts-2.18
4352 - env : EMBER_TRY_SCENARIO=ember-release
4453 - env : EMBER_TRY_SCENARIO=ember-beta
4554 - env : EMBER_TRY_SCENARIO=ember-canary
4655 - env : EMBER_TRY_SCENARIO=ember-default-with-jquery
4756
4857before_install :
49- - npm config set spin false
50- - npm install -g npm@4
51- - npm --version
58+ - curl -o- -L https://yarnpkg.com/install.sh | bash
59+ - export PATH=$HOME/.yarn/bin:$PATH
60+
61+ install :
62+ - yarn install --non-interactive
5263
5364script :
54- - node_modules/.bin/ ember try:one $EMBER_TRY_SCENARIO
65+ - yarn ember try:one $EMBER_TRY_SCENARIO
0 commit comments