jasmine-ajax/travis-script.sh
slackersoft b40f9995a2 Use sauce labs to run specs in the same browsers we test jasmine in.
- Don't want any weird browser bugs to sneak in
[finish #69742564]
2014-05-01 13:26:37 -07:00

15 lines
288 B
Bash

#!/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
bundle exec rake jasmine:ci