Skip to content

Commit

Permalink
fix: node8 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Nov 8, 2018
1 parent 9c4fd57 commit 68a6da7
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .travis.yml
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 10
- 8

sudo: required
dist: trusty
Expand All @@ -10,9 +10,6 @@ before_script:
- 'sudo chown root /opt/google/chrome/chrome-sandbox'
- 'sudo chmod 4755 /opt/google/chrome/chrome-sandbox'

addons:
chrome: stable

cache:
yarn: true

Expand All @@ -32,13 +29,7 @@ script:
- yarn lint:ts
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO

after_success:
- nvm install 10
- nvm use 10
- yarn install --no-lockfile --non-interactive
- yarn travis-deploy-once "npm run semantic-release"
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO & yarn travis-deploy-once "yarn semantic-release"

branches:
except:
Expand Down Expand Up @@ -67,13 +58,8 @@ jobs:
name: 'Tests'
install:
- yarn install --non-interactive
script:
- yarn lint:ts
- yarn test

- name: 'Floating Dependencies'
script:
- yarn test

# we recommend new addons test the current and previous LTS
# as well as latest stable release (bonus points to beta/canary)
Expand All @@ -83,4 +69,4 @@ jobs:
- env: EMBER_TRY_SCENARIO=ember-release
- env: EMBER_TRY_SCENARIO=ember-beta
- env: EMBER_TRY_SCENARIO=ember-canary
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery

0 comments on commit 68a6da7

Please sign in to comment.