-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest Ember CLI, Chrome Testing, yarn.lock
- Ember CLI [v2.14.1](https://github.com/ember-cli/ember-cli/releases/tag/v2.14.1) - Swapping PhantomJS -> [Chrome headless testing in Dev and CI](https://embermap.com/notes/59-ember-tests-with-headless-chrome) - Adding yarn.lock file for deterministing builds using [Yarn](https://yarnpkg.com/en/)
- Loading branch information
1 parent
7377e9a
commit 2499285
Showing
12 changed files
with
5,777 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
.editorconfig | ||
.ember-cli | ||
.gitignore | ||
.jshintrc | ||
.eslintrc.js | ||
.watchmanconfig | ||
.travis.yml | ||
bower.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
--- | ||
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" | ||
|
||
sudo: false | ||
dist: trusty | ||
|
||
addons: | ||
chrome: stable | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
yarn: true | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
before_install: | ||
- npm config set spin false | ||
- npm install phantomjs-prebuilt | ||
- phantomjs --version | ||
- curl -o- -L https://yarnpkg.com/install.sh | bash | ||
- export PATH=$HOME/.yarn/bin:$PATH | ||
|
||
install: | ||
- npm install | ||
- yarn install --no-lockfile --non-interactive | ||
|
||
script: | ||
- npm run lint | ||
- npm run nodetest | ||
- yarn lint | ||
- yarn nodetest | ||
# Usually, it's ok to finish the test scenario without reverting | ||
# to the addon's original dependency state, skipping "cleanup". | ||
- ember try:each --skip-cleanup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
/* 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: [ | ||
'--disable-gpu', | ||
'--headless', | ||
'--remote-debugging-port=9222', | ||
'--window-size=1440,900' | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/* eslint-env node */ | ||
|
||
module.exports = { | ||
browsers: [ | ||
'ie 9', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.