Skip to content
Permalink
Browse files

WIP: try Karma with shared tunnel

  • Loading branch information
vojtajina committed Dec 4, 2014
1 parent db58f1d commit 2ffbc7a5d0e30fbe46761ba1745c6ccb6a11c2e4
Showing with 7 additions and 6 deletions.
  1. +2 −1 karma-shared.conf.js
  2. +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

0 comments on commit 2ffbc7a

Please sign in to comment.
You can’t perform that action at this time.