File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ dependencies:
17
17
# builds. If you need to, you can add custom paths to cache:
18
18
cache_directories :
19
19
- " 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
20
23
21
24
# # Custom notifications
22
25
# notify:
@@ -25,3 +28,12 @@ notify:
25
28
# A list of hook hashes, containing the url field
26
29
# gitter hook
27
30
- 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