Merge pull request #189 from nschonni/shortcircut-pr-builds
Only run Sauce Labs test when secure environment variables are available
This commit is contained in:
commit
94ab700e0b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user