mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-21 22:36:39 +00:00
Run coverage stuff outside thingdoer so its guaranteed to run after both shards have completed.
This commit is contained in:
@@ -32,6 +32,12 @@ test:
|
||||
cd $SRCDIR;
|
||||
go get ./tools/thingdoer;
|
||||
thingdoer tasks.yml
|
||||
- >
|
||||
test "$CIRCLE_NODE_INDEX" != "0" || (
|
||||
./tools/cover/gather_coverage.sh ./coverage $SRCDIR/coverage &&
|
||||
goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/profile.cov -service=circleci || true &&
|
||||
cp coverage.* scope.tar $CIRCLE_ARTIFACTS
|
||||
)
|
||||
|
||||
deployment:
|
||||
hub:
|
||||
|
||||
@@ -52,15 +52,6 @@
|
||||
after: [ui-build-image]
|
||||
command: make RM= RUN_FLAGS= client-test static
|
||||
|
||||
- name: coverage
|
||||
after: [test]
|
||||
command: >
|
||||
test "$CIRCLE_NODE_INDEX" != "0" || (
|
||||
./tools/cover/gather_coverage.sh ./coverage $SRCDIR/coverage;
|
||||
goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/profile.cov -service=circleci || true;
|
||||
cp coverage.* scope.tar $CIRCLE_ARTIFACTS
|
||||
)
|
||||
|
||||
- name: experimental
|
||||
after: [build-image]
|
||||
command: cd experimental; ./build_on_circle.sh
|
||||
|
||||
Reference in New Issue
Block a user