forked from LaconicNetwork/kompose
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:
parent
752b203089
commit
d24b86ad85
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user