forked from allegro/marathon-consul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (24 loc) · 961 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: go
go:
- 1.6
- tip
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/axw/gocov/gocov
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- make deps
- go test -coverprofile=apps.coverprofile ./apps
- go test -coverprofile=config.coverprofile ./config
- go test -coverprofile=consul.coverprofile ./consul
- go test -coverprofile=events.coverprofile ./events
- go test -coverprofile=marathon.coverprofile ./marathon
- go test -coverprofile=metrics.coverprofile ./metrics
- go test -coverprofile=sync.coverprofile ./sync
- go test -coverprofile=utils.coverprofile ./utils
- go test -coverprofile=web.coverprofile ./web
- go test -coverprofile=main.coverprofile
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service travis-ci