Use travis sauce connect addon

This commit is contained in:
Gregg Van Hove and Noah Denton 2015-05-18 17:27:27 -07:00
parent 86be5d3580
commit e1d61c4143
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,8 @@ language: ruby
cache: bundler cache: bundler
rvm: 1.9.3 rvm: 1.9.3
before_install: npm install before_install: npm install
addons:
sauce_connect: true
env: env:
global: global:
- USE_SAUCE=true - USE_SAUCE=true

View File

@ -2,10 +2,8 @@
if [ $USE_SAUCE == true ] if [ $USE_SAUCE == true ]
then then
if [ $TRAVIS_SECURE_ENV_VARS == true ] if [ $TRAVIS_SECURE_ENV_VARS != true ]
then 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" echo "skipping tests since we can't use sauce"
exit 0 exit 0
fi fi