forked from sensu/uchiwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (23 loc) · 1010 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
26
27
28
language: go
go:
- 1.3
- 1.4
notifications:
email: false
env:
- secure: "MqohR2/eRky/ygs0r5hhzcBRwxWeXVqAsI9hJHhhIFosEn6Na4eCHyLthcQ79j/cpsMhF9aPfpSKpkoxuFLpEMx9iKIz1qPtJ97JORB09yFuR1M1kFaJciPj1yOy4ml8lzyyRfaVBy1uag+HorSHjeH4T6xqvs4pwrBnCkj7Y8Y="
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
after_success:
- go test -coverprofile=uchiwa.coverprofile ./uchiwa
- go test -coverprofile=auth.coverprofile ./uchiwa/auth
- go test -coverprofile=config.coverprofile ./uchiwa/config
- go test -coverprofile=daemon.coverprofile ./uchiwa/daemon
- go test -coverprofile=filters.coverprofile ./uchiwa/filters
- go test -coverprofile=sensu.coverprofile ./uchiwa/sensu
- go test -coverprofile=structs.coverprofile ./uchiwa/structs
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci -repotoken=$COVERALLS_TOKEN