Add toggle for skipping tests

This commit is contained in:
Adam Harrison committed 2016-09-29 11:35:01 +01:00
1 parent b45f138ff1
commit a9db631836
6 files changed
+44 -29

No files matched your search

+6 -4
View File
@@ -4,8 +4,10 @@ set -e
source "$STATE"
if [ "$CIRCLE_NODE_INDEX" = "0" ] ; then
go get github.com/mattn/goveralls
goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/test/profile.cov -service=circleci
cd $SRCDIR/test; cp coverage.* $CIRCLE_ARTIFACTS
if [ -z "$SKIP_TESTS" ] ; then
if [ "$CIRCLE_NODE_INDEX" = "0" ] ; then
go get github.com/mattn/goveralls
goveralls -repotoken $COVERALLS_REPO_TOKEN -coverprofile=$SRCDIR/test/profile.cov -service=circleci
cd $SRCDIR/test; cp coverage.* $CIRCLE_ARTIFACTS
fi
fi