Permalink
Browse files
WIP: try Karma with shared tunnel
- Loading branch information
Showing
with
7 additions
and
6 deletions.
-
+2
−1
karma-shared.conf.js
-
+5
−5
scripts/travis/build.sh
|
|
@@ -114,11 +114,12 @@ module.exports = function(config, specificOptions) { |
|
|
var buildLabel = 'TRAVIS #' + process.env.TRAVIS_BUILD_NUMBER + ' (' + process.env.TRAVIS_BUILD_ID + ')'; |
|
|
|
|
|
config.logLevel = config.LOG_DEBUG; |
|
|
config.captureTimeout = 0; // rely on SL timeout |
|
|
config.captureTimeout = 0; // rely on SL/BS timeout |
|
|
config.browserNoActivityTimeout: 60000, |
|
|
|
|
|
config.browserStack.build = buildLabel; |
|
|
config.browserStack.startTunnel = false; |
|
|
config.browserStack.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER; |
|
|
|
|
|
config.sauceLabs.build = buildLabel; |
|
|
config.sauceLabs.startConnect = false; |
|
|
|
|
|
@@ -5,11 +5,11 @@ set -e |
|
|
export SAUCE_ACCESS_KEY=`echo $SAUCE_ACCESS_KEY | rev` |
|
|
|
|
|
if [ $JOB = "unit" ]; then |
|
|
# grunt test:promises-aplus |
|
|
# grunt test:unit --browsers BS_Chrome,BS_Safari,BS_Firefox,BS_IE_9,BS_IE_10,BS_IE_11 --reporters dots |
|
|
# grunt ci-checks |
|
|
# grunt tests:docs --browsers BS_Chrome,BS_Safari,BS_Firefox,BS_IE_9,BS_IE_10,BS_IE_11 --reporters dots |
|
|
grunt test:travis-protractor --specs "docs/app/e2e/**/*.scenario.js" |
|
|
grunt test:promises-aplus |
|
|
grunt test:unit --browsers BS_Chrome,BS_Safari,BS_Firefox,BS_IE_9,BS_IE_10,BS_IE_11 --reporters dots |
|
|
grunt ci-checks |
|
|
grunt tests:docs --browsers BS_Chrome,BS_Safari,BS_Firefox,BS_IE_9,BS_IE_10,BS_IE_11 --reporters dots |
|
|
# grunt test:travis-protractor --specs "docs/app/e2e/**/*.scenario.js" |
|
|
elif [ $JOB = "e2e" ]; then |
|
|
if [ $TEST_TARGET = "jquery" ]; then |
|
|
export USE_JQUERY=1 |
|
|
|