From b13eb5ada5f852d3d12e43e89297878521fd2b66 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sun, 8 Oct 2017 22:37:09 +0000 Subject: [PATCH] Run gen_coverage as a 'deploy' --- .circleci/config.yml | 4 ++-- bin/circle-test-teardown | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100755 bin/circle-test-teardown diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e687623..e668db4d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/bin/circle-test-teardown b/bin/circle-test-teardown deleted file mode 100755 index d998a3c7..00000000 --- a/bin/circle-test-teardown +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -set -e - -cd $SRCDIR/test -test "$CIRCLE_NODE_INDEX" != "0" || (cd $SRCDIR/test; ./gen_coverage_reports.sh)