Upgrade Ember-CLI to 2.4.3

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.
This commit is contained in:
Curtis Ekstrom 2016-04-11 19:13:00 +02:00
parent c5f3cc4873
commit 8cd14b8952
No known key found for this signature in database
GPG Key ID: CDE831E4F18FEB65
6 changed files with 37 additions and 37 deletions

View File

@ -39,9 +39,6 @@ install:
- npm install
- bower install
before_script:
- ruby ci/prepare_testem.rb
script:
- ember try $EMBER_VERSION

View File

@ -2,7 +2,7 @@
"name": "travis",
"dependencies": {
"ember": "2.2.1",
"ember-cli-shims": "0.1.0",
"ember-cli-shims": "0.1.1",
"ember-cli-test-loader": "0.2.2",
"ember-load-initializers": "0.1.7",
"ember-qunit": "0.4.16",

View File

@ -1,10 +0,0 @@
require 'json'
pull_request = ENV['TRAVIS_PULL_REQUEST'] != 'false'
testem = JSON.parse(File.read('testem.json'))
testem['launch_in_ci'] = ['PhantomJS']
testem['launch_in_ci'] = ['SL_chrome', 'SL_firefox'] unless pull_request
File.open('testem.json', 'w') { |f| f.write testem.to_json }

View File

@ -20,37 +20,37 @@
"license": "MIT",
"devDependencies": {
"active-model-adapter": "2.0.3",
"broccoli-asset-rev": "^2.2.0",
"broccoli-asset-rev": "^2.4.2",
"broccoli-sass": "0.6.6",
"ember-ajax": "0.7.1",
"ember-cli": "^2.3.0",
"ember-cli": "^2.4.3",
"ember-cli-app-version": "^1.0.0",
"ember-cli-autoprefixer": "^0.5.0",
"ember-cli-babel": "^5.1.5",
"ember-cli-babel": "^5.1.6",
"ember-cli-dependency-checker": "^1.2.0",
"ember-cli-deprecation-workflow": "0.1.6",
"ember-cli-document-title": "0.2.0",
"ember-cli-htmlbars": "^1.0.1",
"ember-cli-htmlbars": "^1.0.3",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-inject-live-reload": "^1.3.1",
"ember-cli-inject-live-reload": "^1.4.0",
"ember-cli-inline-images": "^0.0.4",
"ember-cli-mirage": "0.2.0-beta.7",
"ember-cli-page-object": "1.0.0",
"ember-cli-pendo": "drogus/ember-cli-pendo",
"ember-cli-pretender": "0.3.1",
"ember-cli-qunit": "^1.2.1",
"ember-cli-qunit": "^1.4.0",
"ember-cli-release": "0.2.8",
"ember-cli-sauce": "^1.1.0",
"ember-cli-sri": "^2.0.0",
"ember-cli-sri": "^2.1.0",
"ember-cli-uglify": "^1.2.0",
"ember-data": "^2.3.0",
"ember-data-filter": "1.13.0",
"ember-disable-proxy-controllers": "^1.0.1",
"ember-export-application-global": "^1.0.4",
"ember-load-initializers": "^0.5.0",
"ember-export-application-global": "^1.0.5",
"ember-load-initializers": "^0.5.1",
"ember-resolver": "^2.0.3",
"ember-try": "0.0.7",
"emberx-select": "2.0.2",
"loader.js": "^4.0.0"
"loader.js": "^4.0.1"
}
}

View File

@ -1,15 +1,15 @@
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
<!-- Most restrictive policy: -->
<site-control permitted-cross-domain-policies="none"/>
<!-- Most restrictive policy: -->
<site-control permitted-cross-domain-policies="none"/>
<!-- Least restrictive policy: -->
<!--
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
-->
<!-- Least restrictive policy: -->
<!--
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
-->
</cross-domain-policy>

View File

@ -1,9 +1,22 @@
{
/*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": [
"PhantomJS"
],
"launch_in_ci": launchInCI(),
"launch_in_dev": [
"PhantomJS"
],