send report to coveralls in after_success section

Connection to coveralls.io sometimes fails and its marking tests as fail
even then are OK. Exit code from after_success do not affects build
result.
This commit is contained in:
Tomas Kral 2017-03-17 14:36:24 +01:00
parent 752b203089
commit d24b86ad85
No known key found for this signature in database
GPG Key ID: E690DA7E4F291FA6

View File

@ -2,13 +2,11 @@
dist : trusty
sudo: required
language: go
# make this also work for forks
go_import_path: github.com/kubernetes-incubator/kompose
go:
- 1.6
- 1.7
@ -21,12 +19,13 @@ before_install:
- go get github.com/sgotti/glide-vc
- go get github.com/golang/lint/golint
install:
- true
script:
- make test
after_success:
# gover collects all .coverprofile files and saves it to one file gover.coverprofile
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci