Run gen_coverage as a 'deploy'

This commit is contained in:
Bryan Boreham committed 2018-07-30 10:16:18 +00:00
1 parent 6337972c8a
commit b13eb5ada5
2 files changed
+2 -8

No files matched your search

+2 -2
View File
@@ -33,12 +33,12 @@ jobs:
- run:
command: bin/circle-test-smoke
no_output_timeout: 360s
# Generate code coverage reports
- run: bin/circle-test-teardown
# Destroy testing VMs:
- run:
command: bin/circle-destroy-vms
background: true
- deploy:
command: cd $SRCDIR/test; ./gen_coverage_reports.sh
# run goveralls; copy coverage reports to artifacts dir
- deploy:
command: $SRCDIR/bin/circle-teardown-pre
-6
View File
@@ -1,6 +0,0 @@
#!/bin/bash
set -e
cd $SRCDIR/test
test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR/test; ./gen_coverage_reports.sh)