aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2014-11-27 19:42:13 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2014-11-27 19:42:13 +0800
commitc17a3cb0ceec44c10bc84d05f0d81f08894c792c (patch)
tree13e748d581abb7940bd435798c51c7f870adccea /.travis.yml
parent5c958ec5f658709b648647449ce5349aa98b3d5d (diff)
downloadgo-tangerine-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar
go-tangerine-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar.gz
go-tangerine-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar.bz2
go-tangerine-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar.lz
go-tangerine-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar.xz
go-tangerine-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar.zst
go-tangerine-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.zip
chain coverage report & submission
prevent coverage results from being submitted to coveralls if when the build fails
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index ebb631969..d09cbcdb0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,9 +19,7 @@ before_script:
# - go vet ./...
# - go test -race ./...
script:
- - ./gocoverage.sh
-after_script:
- - goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN
+ - ./gocoverage.sh && goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN
env:
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="