if [[ `echo $TRAVIS_BRANCH` = "master" ]]; then
	# Run basic and SauceLabs tests
	echo "Running complete test suite..."
	npm test || exit 1
	npm run test-ci || exit 1
else
	# Run basic tests
	echo "Running basic tests..."
	npm test || exit 1
fi

if [[ `echo $TRAVIS_BRANCH` = "master" && `echo $SAUCE_USERNAME` != "" ]]; then
	# Run basic and SauceLabs tests
	echo "Running complete test suite..."
	npm test || exit 1
	npm run test-ci || exit 1
else
	# Run basic tests
	echo "Running basic tests..."
	npm test || exit 1
fi

Check that Sauce constants are defined for Travis
Check that Sauce constants are defined for Travis
