-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ env: | |
- JOB=unit BROWSER_PROVIDER=saucelabs | ||
- JOB=docs-e2e BROWSER_PROVIDER=saucelabs | ||
- JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=saucelabs | ||
- JOB=e2e TEST_TARGET=jquery-old BROWSER_PROVIDER=saucelabs | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mgol
Author
Owner
|
||
- JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=saucelabs | ||
global: | ||
- CXX=g++-4.8 # node 4 likes the G++ v4.8 compiler | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ We are using [Bower][bower] to install client-side dependencies. This step upda | |
"dependencies": { | ||
"angular": "1.4.x", | ||
"angular-mocks": "1.4.x", | ||
"jquery": "~2.1.1", | ||
This comment has been minimized.
Sorry, something went wrong.
petebacondarwin
|
||
"jquery": "~2.2.1", | ||
"bootstrap": "~3.1.1", | ||
"angular-route": "1.4.x" | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
'use strict'; | ||
|
||
var angularFiles = require('./angularFiles'); | ||
var sharedConfig = require('./karma-shared.conf'); | ||
|
||
module.exports = function(config) { | ||
sharedConfig(config, {testName: 'AngularJS: jQuery', logFile: 'karma-jquery.log'}); | ||
|
||
config.set({ | ||
files: angularFiles.mergeFilesFor('karmaJqueryOld'), | ||
exclude: angularFiles.mergeFilesFor('karmaJqueryExclude'), | ||
|
||
junitReporter: { | ||
outputFile: 'test_out/jquery.xml', | ||
suite: 'jQuery' | ||
} | ||
}); | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ elif [ $JOB = "unit" ]; then | |
elif [ $JOB = "docs-e2e" ]; then | ||
grunt test:travis-protractor --specs "docs/app/e2e/**/*.scenario.js" | ||
elif [ $JOB = "e2e" ]; then | ||
if [ $TEST_TARGET = "jquery" ]; then | ||
if [ $TEST_TARGET = "jquery" -o $TEST_TARGET = "jquery-old" ]; then | ||
This comment has been minimized.
Sorry, something went wrong.
petebacondarwin
|
||
export USE_JQUERY=1 | ||
fi | ||
|
||
export TARGET_SPECS="build/docs/ptore2e/**/default_test.js" | ||
if [ $TEST_TARGET = "jquery" ]; then | ||
if [ $TEST_TARGET = "jquery" -o $TEST_TARGET = "jquery-old" ]; then | ||
TARGET_SPECS="build/docs/ptore2e/**/jquery_test.js" | ||
fi | ||
|
||
|
I feel sad that we have
jquery-old
. What happens if we started testing on more than two versions?How about we have
jquery21
andjquery22
, then it will be cleaner to addjquery30
later.