diff --git a/.travis.yml b/.travis.yml index b07b6a8..0192aba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ language: ruby cache: bundler rvm: 1.9.3 before_install: npm install +addons: + sauce_connect: true env: global: - USE_SAUCE=true diff --git a/travis-script.sh b/travis-script.sh index 5d983dc..5849127 100644 --- a/travis-script.sh +++ b/travis-script.sh @@ -2,10 +2,8 @@ if [ $USE_SAUCE == true ] then - if [ $TRAVIS_SECURE_ENV_VARS == true ] + 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