2014-05-02 04:25:24 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
if [ $USE_SAUCE == true ]
|
|
|
|
then
|
2015-05-19 08:27:27 +08:00
|
|
|
if [ $TRAVIS_SECURE_ENV_VARS != true ]
|
2014-05-02 04:25:24 +08:00
|
|
|
then
|
|
|
|
echo "skipping tests since we can't use sauce"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2014-08-09 03:50:17 +08:00
|
|
|
set -e
|
2014-08-05 04:15:28 +08:00
|
|
|
grunt jshint
|
|
|
|
bundle exec rake jasmine:ci
|
|
|
|
JASMINE_CONFIG_PATH=spec/support/jasmine_combined.yml bundle exec rake jasmine:ci
|