Only submit on coverage report success

pull/296/head
Taylor Gerring 10 years ago
parent 03b89ab712
commit c1f6e259a9
  1. 3
      .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

Loading…
Cancel
Save