Skip to content

IE11 testing in CI via sauce labs #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = {
'.template-lintrc.js',
'ember-cli-build.js',
'index.js',
'testem.ie11.js',
'testem.js',
'blueprints/*/index.js',
'config/**/*.js',
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
- JOBS=1

stages:
- wip
- 'Tests'
- 'Additional Tests'
- 'Canary Tests'
Expand All @@ -32,6 +33,15 @@ jobs:

include:
# runs linting and tests with current locked deps
- stage: 'wip'
name: 'Internet Explorer 11'
before_script:
- rm testem.js
- cp testem.ie11.js testem.js
- ember sauce:connect
script: ember test --test-port 7000
after_script:
- ember sauce:disconnect

- stage: 'Tests'
name: 'Tests'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"ember-cli-htmlbars-inline-precompile": "2.1.0",
"ember-cli-inject-live-reload": "2.0.1",
"ember-cli-release": "1.0.0-beta.2",
"ember-cli-sauce": "^2.2.0",
"ember-cli-template-lint": "1.0.0-beta.2",
"ember-cli-test-loader": "2.2.0",
"ember-cli-uglify": "2.1.0",
Expand Down
26 changes: 26 additions & 0 deletions testem.ie11.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,

launch_in_ci: ['SL_Internet_Explorer_11_public'],

launch_in_dev: ['SL_Internet_Explorer_11_public'],

launchers: {
SL_Internet_Explorer_11_public: {
exe: 'ember',
args: [
'sauce:launch',
'---',
'-b',
'internet explorer',
'--visibility',
'public',
'--attach',
'--no-connect',
'--url'
],
protocol: 'browser'
}
}
};
11 changes: 5 additions & 6 deletions testem.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
],
launch_in_dev: [
'Chrome'
],

launch_in_ci: ['Chrome'],

launch_in_dev: ['Chrome'],

browser_args: {
Chrome: {
ci: [
Expand Down
Loading