From 6bc3b8dc6df8feac994d52e0f0389a7be472b73f Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Mon, 19 Dec 2016 13:55:18 -0500 Subject: [PATCH] test: circle artifacts --- circle.yml | 3 ++- test/test_cover.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 2b54c66bb..d6f7abeb6 100644 --- a/circle.yml +++ b/circle.yml @@ -29,8 +29,9 @@ dependencies: test: override: - - "cd $REPO && make test_integrations": + - "cd $REPO && set -o pipefail && make test_integrations | tee ~/test_integrations.log": timeout: 1800 + - "cp ~/test_integrations.log $CIRCLE_ARTIFACTS" post: - "cd $REPO && bash <(curl -s https://codecov.io/bash)" diff --git a/test/test_cover.sh b/test/test_cover.sh index 5b97b9d90..49992d631 100644 --- a/test/test_cover.sh +++ b/test/test_cover.sh @@ -5,7 +5,7 @@ PKGS=$(go list github.com/tendermint/tendermint/... | grep -v /vendor/) set -e echo "mode: atomic" > coverage.txt for pkg in ${PKGS[@]}; do - go test -timeout 20m -race -coverprofile=profile.out -covermode=atomic $pkg + go test -timeout 30m -race -coverprofile=profile.out -covermode=atomic $pkg if [ -f profile.out ]; then tail -n +2 profile.out >> coverage.txt; rm profile.out