Skip to content

Commit

Permalink
Destroy VMs in background
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Dec 8, 2016
1 parent ef41eba commit 7317f72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/circle-test-teardown
Expand Up @@ -6,6 +6,5 @@ source "$STATE"

if [ -n "$TEST_AND_PUBLISH" ] ; then
cd $SRCDIR/test
./gce.sh destroy
test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR/test; ./gen_coverage_reports.sh)
fi
3 changes: 3 additions & 0 deletions circle.yml
Expand Up @@ -40,6 +40,9 @@ test:

teardown:
pre:
- "cd $SRCDIR/test && ./gce.sh destroy":
parallel: true
background: true
- "$SRCDIR/bin/circle-teardown-pre":
parallel: true

Expand Down

0 comments on commit 7317f72

Please sign in to comment.