jasmine-ajax/travis-script.sh

15 lines
304 B
Bash
Raw Normal View History

#!/bin/bash -e
if [ $USE_SAUCE == true ]
then
if [ $TRAVIS_SECURE_ENV_VARS == true ]
then
curl -L https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash
else
echo "skipping tests since we can't use sauce"
exit 0
fi
fi
2014-07-26 04:31:44 +08:00
grunt jshint && bundle exec rake jasmine:ci