Skip to content

Commit

Permalink
Merge pull request #1 from jelhan/add-test-coverage
Browse files Browse the repository at this point in the history
add test coverage for different ember-simple-auth versions
  • Loading branch information
fenichelar authored Mar 5, 2020
2 parents b99b2d2 + d096fcc commit 82f5fa3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- "8"
- "10"

sudo: false
dist: trusty
Expand Down Expand Up @@ -32,13 +31,16 @@ env:
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default
- EMBER_TRY_SCENARIO=ember-simple-auth-2.x
- EMBER_TRY_SCENARIO=ember-simple-auth-3.x NODE_VERSION=10

matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
- if [[ $NODE_VERSION ]]; then nvm install ${NODE_VERSION} && nvm use ${NODE_VERSION}; fi
- npm config set spin false
- npm install -g npm@6
- npm --version
Expand Down
48 changes: 48 additions & 0 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = function() {
{
name: 'ember-lts-2.16',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': '~2.16.0'
}
Expand All @@ -21,6 +24,9 @@ module.exports = function() {
{
name: 'ember-lts-2.18',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': '~2.18.0'
}
Expand All @@ -29,6 +35,9 @@ module.exports = function() {
{
name: 'ember-lts-3.4',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': '~3.4.0'
}
Expand All @@ -37,6 +46,9 @@ module.exports = function() {
{
name: 'ember-lts-3.8',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': '~3.8.0'
}
Expand All @@ -45,6 +57,9 @@ module.exports = function() {
{
name: 'ember-lts-3.12',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': '~3.12.0'
}
Expand All @@ -53,6 +68,9 @@ module.exports = function() {
{
name: 'ember-release',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': urls[0]
}
Expand All @@ -61,6 +79,9 @@ module.exports = function() {
{
name: 'ember-beta',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': urls[1]
}
Expand All @@ -69,6 +90,9 @@ module.exports = function() {
{
name: 'ember-canary',
npm: {
dependencies: {
'ember-simple-auth': '^1.6.0'
},
devDependencies: {
'ember-source': urls[2]
}
Expand All @@ -79,6 +103,30 @@ module.exports = function() {
npm: {
devDependencies: {}
}
},
{
name: 'ember-simple-auth-2.x',
npm: {
dependencies: {
'ember-simple-auth': '^2.0.0'
},
devDependencies: {
// minimum ember version supported by [email protected]
'ember-source': '~2.16.0'
}
}
},
{
name: 'ember-simple-auth-3.x',
npm: {
dependencies: {
'ember-simple-auth': '^3.0.0'
},
devDependencies: {
// minimum ember version supported by [email protected]
'ember-source': '~3.0.0'
}
}
}
]
};
Expand Down

0 comments on commit 82f5fa3

Please sign in to comment.