Skip to content

Commit

Permalink
Tweak ember-try config to add 2.0 and 2.4 scenarios.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Oct 7, 2017
1 parent d099311 commit 52e6655
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 31 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ cache:
env:
# we recommend new addons test the current and previous LTS
# as well as latest stable release (bonus points to beta/canary)
- EMBER_TRY_SCENARIO=ember-2.0
- EMBER_TRY_SCENARIO=ember-lts-2.4
- EMBER_TRY_SCENARIO=ember-lts-2.8
- EMBER_TRY_SCENARIO=ember-lts-2.12
- EMBER_TRY_SCENARIO=ember-release
Expand Down
92 changes: 61 additions & 31 deletions config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,83 +1,113 @@
/* eslint-env node */

module.exports = {
scenarios: [
{
name: 'ember-2.0',
bower: {
dependencies: {
ember: '~2.0.0',
},
},
npm: {
devDependencies: {
'ember-source': null,
},
},
},
{
name: 'ember-lts-2.4',
bower: {
dependencies: {
ember: 'components/ember#lts-2-4',
},
resolutions: {
ember: 'lts-2-4',
},
},
npm: {
devDependencies: {
'ember-source': null,
},
},
},
{
name: 'ember-lts-2.8',
bower: {
dependencies: {
'ember': 'components/ember#lts-2-8'
ember: 'components/ember#lts-2-8',
},
resolutions: {
'ember': 'lts-2-8'
}
ember: 'lts-2-8',
},
},
npm: {
devDependencies: {
'ember-source': null
}
}
'ember-source': null,
},
},
},
{
name: 'ember-lts-2.12',
npm: {
devDependencies: {
'ember-source': '~2.12.0'
}
}
'ember-source': '~2.12.0',
},
},
},
{
name: 'ember-release',
bower: {
dependencies: {
'ember': 'components/ember#release'
ember: 'components/ember#release',
},
resolutions: {
'ember': 'release'
}
ember: 'release',
},
},
npm: {
devDependencies: {
'ember-source': null
}
}
'ember-source': null,
},
},
},
{
name: 'ember-beta',
bower: {
dependencies: {
'ember': 'components/ember#beta'
ember: 'components/ember#beta',
},
resolutions: {
'ember': 'beta'
}
ember: 'beta',
},
},
npm: {
devDependencies: {
'ember-source': null
}
}
'ember-source': null,
},
},
},
{
name: 'ember-canary',
bower: {
dependencies: {
'ember': 'components/ember#canary'
ember: 'components/ember#canary',
},
resolutions: {
'ember': 'canary'
}
ember: 'canary',
},
},
npm: {
devDependencies: {
'ember-source': null
}
}
'ember-source': null,
},
},
},
{
name: 'ember-default',
npm: {
devDependencies: {}
}
}
]
devDependencies: {},
},
},
],
};

0 comments on commit 52e6655

Please sign in to comment.