Skip to content

Commit 84f1f51

Browse files
author
nfrasser
committed
Check that Sauce constants are defined for Travis
1 parent 68057ad commit 84f1f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if [[ `echo $TRAVIS_BRANCH` = "master" ]]; then
1+
if [[ `echo $TRAVIS_BRANCH` = "master" && `echo $SAUCE_USERNAME` != "" ]]; then
22
# Run basic and SauceLabs tests
33
echo "Running complete test suite..."
44
npm test || exit 1

0 commit comments

Comments
 (0)