From 0f643851c76f9c99f2ddf442ba2ce88b20efffff Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 28 May 2013 01:06:23 -0400 Subject: [PATCH] Only run Saucelabs test with secure variables This is intended to short circut PRs so that they don't get marked as failed when they don't have access to the Sauce vars. --- script/ci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/ci b/script/ci index 6ec161ac..2a61a5e0 100755 --- a/script/ci +++ b/script/ci @@ -6,7 +6,7 @@ elif [ "$TEST_SUITE" == "phantomjs" ]; then bundle exec rackup -s puma -p 5000 -D sleep 3 ./run_jasmine.coffee http://localhost:5000/spec.html -elif [ "$TEST_SUITE" == "saucelabs" ]; then +elif [ "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TEST_SUITE" == "saucelabs" ]; then bundle exec rackup -s puma -p 5000 -D sleep 3 curl https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash