Skip to content

Commit 81582c4

Browse files
authored
Merge pull request #115 from amplitude/use-sauce-tests
Run tests through sauce VM
2 parents af28eb7 + 5a017a8 commit 81582c4

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

circle.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
machine:
22
node:
33
version: 6.11.0
4-
dependencies:
5-
post:
6-
- wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz
7-
- tar -xzf sc-latest-linux.tar.gz
84

95
test:
106
override:
11-
- cd sc-*-linux && ./bin/sc --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY --readyfile ~/sauce_is_ready:
12-
background: true
13-
# Wait for tunnel to be ready
14-
- while [ ! -e ~/sauce_is_ready ]; do sleep 1; done
15-
- python -m hello.hello_app:
16-
background: true
17-
# Wait for app to be ready
18-
- wget --retry-connrefused --no-check-certificate -T 30 http://localhost:5000
19-
# Run selenium tests
20-
- nosetests
21-
post:
22-
- killall --wait sc # wait for Sauce Connect to close the tunnel
7+
- make test-sauce

0 commit comments

Comments
 (0)