
This upgrades several Ember-CLI related packages, but does not change our Ember/Ember-Data versions (those will require code changes that are best handled in separate commits). In addition, Testem can now be dynamically configured, meaning we no longer need custom scripts to run as part of CI to set dynamic launcher configuration values based on PR status.
65 lines
1.2 KiB
JavaScript
65 lines
1.2 KiB
JavaScript
/*jshint node:true*/
|
|
|
|
var launchInCI = function() {
|
|
if (process.env.TRAVIS) {
|
|
if (process.env.TRAVIS_PULL_REQUEST) {
|
|
console.log('will run with phantom');
|
|
return ['PhantomJS'];
|
|
} else {
|
|
return ['SL_chrome', 'SL_firefox'];
|
|
}
|
|
} else {
|
|
return ['PhantomJS'];
|
|
}
|
|
};
|
|
|
|
module.exports = {
|
|
"framework": "qunit",
|
|
"test_page": "tests/index.html?hidepassed",
|
|
"launch_in_ci": launchInCI(),
|
|
"launch_in_dev": [
|
|
"PhantomJS"
|
|
],
|
|
"launchers": {
|
|
"SL_chrome": {
|
|
"exe": "./node_modules/.bin/ember-cli-sauce",
|
|
"args": [
|
|
"-b",
|
|
"chrome",
|
|
"-p",
|
|
"Windows 8",
|
|
"--at",
|
|
"--no-ct",
|
|
"--u"
|
|
],
|
|
"protocol": "browser"
|
|
},
|
|
"SL_firefox": {
|
|
"exe": "./node_modules/.bin/ember-cli-sauce",
|
|
"args": [
|
|
"-b",
|
|
"firefox",
|
|
"-p",
|
|
"Windows 8",
|
|
"--at",
|
|
"--no-ct",
|
|
"--u"
|
|
],
|
|
"protocol": "browser"
|
|
},
|
|
"SL_safari": {
|
|
"exe": "./node_modules/.bin/ember-cli-sauce",
|
|
"args": [
|
|
"-b",
|
|
"safari",
|
|
"-p",
|
|
"Mac 10.10",
|
|
"--at",
|
|
"--no-ct",
|
|
"--u"
|
|
],
|
|
"protocol": "browser"
|
|
}
|
|
}
|
|
}
|