diff options
| author | Vojta Jina | 2013-12-11 09:56:06 -0800 | 
|---|---|---|
| committer | Vojta Jina | 2013-12-11 10:12:18 -0800 | 
| commit | 8864e54f1f94883f3e22d7ce7ed87a699467a217 (patch) | |
| tree | 256453f7e9ac9c8460be80d751af14b62e3f79f7 /lib | |
| parent | dc4df931778a374f1fb3c8af7545733c09b9c098 (diff) | |
| download | angular.js-8864e54f1f94883f3e22d7ce7ed87a699467a217.tar.bz2 | |
chore(scripts): refactor travis scripts
Refactoring so that it's easier to use both SL/BS just depending on a global switch.
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/sauce/sauce_connect_block.sh | 7 | ||||
| -rwxr-xr-x | lib/sauce/sauce_connect_setup.sh | 4 | 
2 files changed, 2 insertions, 9 deletions
| diff --git a/lib/sauce/sauce_connect_block.sh b/lib/sauce/sauce_connect_block.sh deleted file mode 100755 index 126d3710..00000000 --- a/lib/sauce/sauce_connect_block.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - - -# Wait for Connect to be ready before exiting -while [ ! -f $SAUCE_CONNECT_READY_FILE ]; do -  sleep .5 -done diff --git a/lib/sauce/sauce_connect_setup.sh b/lib/sauce/sauce_connect_setup.sh index 5e8e138d..c49cff0a 100755 --- a/lib/sauce/sauce_connect_setup.sh +++ b/lib/sauce/sauce_connect_setup.sh @@ -36,8 +36,8 @@ ARGS=""  if [ ! -z "$TRAVIS_JOB_NUMBER" ]; then    ARGS="$ARGS --tunnel-identifier $TRAVIS_JOB_NUMBER"  fi -if [ ! -z "$SAUCE_CONNECT_READY_FILE" ]; then -  ARGS="$ARGS --readyfile $SAUCE_CONNECT_READY_FILE" +if [ ! -z "$BROWSER_PROVIDER_READY_FILE" ]; then +  ARGS="$ARGS --readyfile $BROWSER_PROVIDER_READY_FILE"  fi | 
