File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ dependencies:
1717 # builds. If you need to, you can add custom paths to cache:
1818 cache_directories :
1919 - " test/fixtures/node_modules"
20+ post :
21+ - wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz
22+ - tar -xzf sc-latest-linux.tar.gz
2023
2124# # Custom notifications
2225# notify:
@@ -25,3 +28,12 @@ notify:
2528 # A list of hook hashes, containing the url field
2629 # gitter hook
2730 - url : https://webhooks.gitter.im/e/ac3980c61cb722b9e789
31+
32+ test :
33+ pre :
34+ - cd sc-*-linux && ./bin/sc --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY --readyfile ~/sauce_is_ready :
35+ background : true
36+ # Wait for tunnel to be ready
37+ - while [ ! -e ~/sauce_is_ready ]; do sleep 1; done
38+ post :
39+ - killall --wait sc # wait for Sauce Connect to close the tunnel
You can’t perform that action at this time.
0 commit comments