From 5a017a8cf66f93bc5dff52e828621e20a00920cf Mon Sep 17 00:00:00 2001 From: Krishna Rajendran Date: Thu, 7 Sep 2017 15:39:31 -0700 Subject: [PATCH] Run tests through sauce VM --- circle.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/circle.yml b/circle.yml index 726d55eb..66b591ae 100644 --- a/circle.yml +++ b/circle.yml @@ -1,22 +1,7 @@ machine: node: version: 6.11.0 -dependencies: - post: - - wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz - - tar -xzf sc-latest-linux.tar.gz test: override: - - cd sc-*-linux && ./bin/sc --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY --readyfile ~/sauce_is_ready: - background: true - # Wait for tunnel to be ready - - while [ ! -e ~/sauce_is_ready ]; do sleep 1; done - - python -m hello.hello_app: - background: true - # Wait for app to be ready - - wget --retry-connrefused --no-check-certificate -T 30 http://localhost:5000 - # Run selenium tests - - nosetests - post: - - killall --wait sc # wait for Sauce Connect to close the tunnel + - make test-sauce