Skip to content

Commit

Permalink
fix: update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Jul 16, 2018
1 parent c18a2f9 commit f6f3721
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 25 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: node_js
node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- "4"
- "6"

sudo: false
dist: trusty
Expand Down Expand Up @@ -35,11 +35,6 @@ matrix:
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
- npm config set spin false
- npm install -g npm@4
- npm --version

script:
- npm run lint:js
# Usually, it's ok to finish the test scenario without reverting
Expand Down
39 changes: 20 additions & 19 deletions config/ember-try.js
Original file line number Diff line number Diff line change
@@ -1,65 +1,66 @@
'use strict';
"use strict";

const getChannelURL = require('ember-source-channel-url');
const getChannelURL = require("ember-source-channel-url");

module.exports = function() {
return Promise.all([
getChannelURL('release'),
getChannelURL('beta'),
getChannelURL('canary'),
]).then((urls) => {
getChannelURL("release"),
getChannelURL("beta"),
getChannelURL("canary")
]).then(urls => {
return {
useYarn: true,
scenarios: [
{
name: 'ember-lts-2.12',
name: "ember-lts-2.12",
npm: {
devDependencies: {
'ember-source': '~2.12.0'
"ember-source": "~2.12.0"
}
}
},
{
name: 'ember-lts-2.16',
name: "ember-lts-2.16",
npm: {
devDependencies: {
'ember-source': '~2.16.0'
"ember-source": "~2.16.0"
}
}
},
{
name: 'ember-lts-2.18',
name: "ember-lts-2.18",
npm: {
devDependencies: {
'ember-source': '~2.18.0'
"ember-source": "~2.18.0"
}
}
},
{
name: 'ember-release',
name: "ember-release",
npm: {
devDependencies: {
'ember-source': urls[0]
"ember-source": urls[0]
}
}
},
{
name: 'ember-beta',
name: "ember-beta",
npm: {
devDependencies: {
'ember-source': urls[1]
"ember-source": urls[1]
}
}
},
{
name: 'ember-canary',
name: "ember-canary",
npm: {
devDependencies: {
'ember-source': urls[2]
"ember-source": urls[2]
}
}
},
{
name: 'ember-default',
name: "ember-default",
npm: {
devDependencies: {}
}
Expand Down

0 comments on commit f6f3721

Please sign in to comment.