jasmine-ajax/travis-script.sh
slackersoft 9322af290a Run specs against separate and concatenated files
- also get rid of spec/javascripts, since there's only js here
2014-08-04 13:15:28 -07:00

17 lines
383 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
grunt jshint
bundle exec rake jasmine:ci
JASMINE_CONFIG_PATH=spec/support/jasmine_combined.yml bundle exec rake jasmine:ci