diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2014-11-27 19:42:13 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2014-11-27 19:42:13 +0800 |
commit | c17a3cb0ceec44c10bc84d05f0d81f08894c792c (patch) | |
tree | 13e748d581abb7940bd435798c51c7f870adccea | |
parent | 5c958ec5f658709b648647449ce5349aa98b3d5d (diff) | |
download | dexon-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar.gz dexon-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.tar.zst dexon-c17a3cb0ceec44c10bc84d05f0d81f08894c792c.zip |
chain coverage report & submission
prevent coverage results from being submitted to coveralls if when the
build fails
-rw-r--r-- | .travis.yml | 4 |
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=" |