diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-06 06:04:42 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-06 06:04:42 +0800 |
commit | c1f6e259a9a461687be5b39cfe01296ea1f7c581 (patch) | |
tree | 77084f12c16180e05fd9d6da528cdda0e5986ab7 /.travis.yml | |
parent | 03b89ab712227ff42a53614f74b00f723cce5a70 (diff) | |
download | dexon-c1f6e259a9a461687be5b39cfe01296ea1f7c581.tar.gz dexon-c1f6e259a9a461687be5b39cfe01296ea1f7c581.tar.zst dexon-c1f6e259a9a461687be5b39cfe01296ea1f7c581.zip |
Only submit on coverage report success
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 5a41cdcc6..0180f8649 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,7 @@ before_script: # - go vet ./... # - go test -race ./... script: - - ./gocoverage.sh - - if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi + - ./gocoverage.sh && if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi env: global: - PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig |