Skip to content

Commit 42b1f8b

Browse files
chore(travis): update to use Chrome browser only
1 parent 56115ce commit 42b1f8b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

config/karma-sauce.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function(config) {
1616
// Maximum 10 browsers - SauceLabs limit
1717
// Those pre-configured browsers will always run in the CI Release Mode to confirm, that all
1818
// previous jobs have passed.
19-
browsers: ['SL_CHROME', 'SL_FIREFOX', 'SL_IE11'],
19+
browsers: ['SL_CHROME'], //, 'SL_FIREFOX', 'SL_IE11'],
2020
customLaunchers: require('./sauce-browsers.json'),
2121

2222
captureTimeout: 180 * 1000,

scripts/travis-run-script.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ gulp build
2121
# Wait for the tunnel to be ready
2222
./scripts/sauce/wait-tunnel.sh
2323

24-
gulp karma --config=config/karma-sauce.conf.js --browsers=$BROWSERS --reporters='dots'
24+
if [[ -n "$BROWSERS" ]]; then
25+
gulp karma --config=config/karma-sauce.conf.js --browsers=$BROWSERS --reporters='dots'
26+
else
27+
gulp karma --config=config/karma-sauce.conf.js --reporters='dots'
28+
fi
2529

2630
# Shutdown the tunnel
2731
./scripts/sauce/stop-tunnel.sh

0 commit comments

Comments
 (0)