Don't bother trying to still use firefox

This commit is contained in:
Tim Jarratt
2013-10-03 12:07:57 -07:00
parent 95572fb314
commit 520a8c85a2

View File

@@ -5,17 +5,10 @@ then
if [ $TRAVIS_SECURE_ENV_VARS == true ] if [ $TRAVIS_SECURE_ENV_VARS == true ]
then then
curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash
else
if [ $JASMINE_BROWSER == firefox ]
then
export USE_SAUCE=false
export DISPLAY=:99.0
/etc/init.d/xvfb start
else else
echo "skipping tests since we can't use sauce" echo "skipping tests since we can't use sauce"
exit 0 exit 0
fi fi
fi fi
fi
bundle exec rake jasmine:ci bundle exec rake jasmine:ci