From e1d61c4143a6cba18245b14dd3b92345318456fe Mon Sep 17 00:00:00 2001 From: Gregg Van Hove and Noah Denton Date: Mon, 18 May 2015 17:27:27 -0700 Subject: [PATCH] Use travis sauce connect addon --- .travis.yml | 2 ++ travis-script.sh | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) 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