Skip to content

Commit

Permalink
Remove unecessary files & update travis/testing config
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Novy committed Jan 3, 2018
1 parent 3a2d28a commit bfb802e
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 143 deletions.
4 changes: 0 additions & 4 deletions .bowerrc

This file was deleted.

110 changes: 0 additions & 110 deletions .jscsrc

This file was deleted.

35 changes: 20 additions & 15 deletions .travis.yml
Expand Up @@ -4,37 +4,42 @@ node_js:
- "6"

sudo: false
dist: trusty

addons:
chrome: stable

cache:
yarn: true

env:
# we recommend testing LTS's and latest stable release (bonus points to beta/canary)
- EMBER_TRY_SCENARIO=ember-lts-2.12
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default
- EMBER_TRY_SCENARIO=fastboot
global:
# See https://git.io/vdao3 for details.
- JOBS=1
matrix:
# 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-lts-2.12
- EMBER_TRY_SCENARIO=ember-lts-2.16
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-default
- EMBER_TRY_SCENARIO=fastboot

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

before_install:
- npm config set spin false
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn global add phantomjs-prebuilt bower
- npm --version
- yarn --version
- bower --version
- phantomjs --version

install:
- yarn install --no-lockfile
- yarn install --no-lockfile --non-interactive

script:
# 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 test --skip-cleanup
- node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO --skip-cleanup
4 changes: 0 additions & 4 deletions bower.json

This file was deleted.

10 changes: 9 additions & 1 deletion config/ember-try.js
@@ -1,5 +1,5 @@
/* eslint-env node */
module.exports = {
useYarn: true,
scenarios: [
{
name: 'ember-lts-2.12',
Expand All @@ -9,6 +9,14 @@ module.exports = {
}
}
},
{
name: 'ember-lts-2.16',
npm: {
devDependencies: {
'ember-source': '~2.16.0'
}
}
},
{
name: 'ember-release',
bower: {
Expand Down
27 changes: 18 additions & 9 deletions testem.js
@@ -1,12 +1,21 @@
/* eslint-env node */
module.exports = {
"test_page": "tests/index.html?hidepassed",
"disable_watching": true,
"launch_in_ci": [
"PhantomJS"
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
],
"launch_in_dev": [
"PhantomJS",
"Chrome"
]
launch_in_dev: [
'Chrome'
],
browser_args: {
Chrome: {
mode: 'ci',
args: [
'--disable-gpu',
'--headless',
'--remote-debugging-port=0',
'--window-size=1440,900'
]
}
}
};
8 changes: 8 additions & 0 deletions tests/dummy/config/targets.js
@@ -0,0 +1,8 @@
module.exports = {
browsers: [
'ie 9',
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Safari versions'
]
};

0 comments on commit bfb802e

Please sign in to comment.