jasmine-ajax/travis-script.sh
Gregg Van Hove and Noah Denton e1d61c4143 Use travis sauce connect addon
2015-05-18 17:27:27 -07:00

16 lines
296 B
Bash

#!/bin/bash -e
if [ $USE_SAUCE == true ]
then
if [ $TRAVIS_SECURE_ENV_VARS != true ]
then
echo "skipping tests since we can't use sauce"
exit 0
fi
fi
set -e
grunt jshint
bundle exec rake jasmine:ci
JASMINE_CONFIG_PATH=spec/support/jasmine_combined.yml bundle exec rake jasmine:ci