From 665cd4673ecdbf5b679a1d1443088565e781490f Mon Sep 17 00:00:00 2001 From: Kris Williams Date: Sat, 30 Jun 2018 16:11:29 -0700 Subject: [PATCH] CI: test ember 2.18.2, use lts node in travis, yarn NOTE: not sure if using yarn in ember try is acceptable to you guys, but it does speed up local testing quite a bit. --- .travis.yml | 7 ++++--- config/ember-try.js | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b4256f..247d02f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ --- language: node_js -node_js: - - "4" +node_js: lts/carbon sudo: false dist: trusty @@ -14,7 +13,6 @@ cache: directories: - $HOME/.cache # includes bowers cache -env: env: global: - DEBUG="auto-dist-tag" @@ -23,6 +21,9 @@ env: # as well as latest stable release (bonus points to beta/canary) - EMBER_TRY_SCENARIO=ember-lts-2.4 - EMBER_TRY_SCENARIO=ember-lts-2.8 + # final LTS for 2.x line: + - EMBER_TRY_SCENARIO=ember-2.18 + # 3.x + - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary diff --git a/config/ember-try.js b/config/ember-try.js index 1c12633..050840f 100644 --- a/config/ember-try.js +++ b/config/ember-try.js @@ -3,6 +3,7 @@ /* eslint-env node */ module.exports = { + useYarn: true, scenarios: [ { name: 'ember-lts-2.4', @@ -36,6 +37,22 @@ module.exports = { } } }, + { + name: 'ember-2.18', + bower: { + dependencies: { + 'ember': 'components/ember#2.18' + }, + resolutions: { + 'ember': '2.18' + } + }, + npm: { + devDependencies: { + 'ember-source': null + } + } + }, { name: 'ember-release', bower: {