2016-11-26 16:00:43 +07:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.7
|
|
|
|
env:
|
|
|
|
- "PATH=/home/travis/gopath/bin:$PATH"
|
|
|
|
before_install:
|
|
|
|
- go get -u github.com/kardianos/govendor
|
2016-11-28 00:49:55 +07:00
|
|
|
- go get github.com/golang/lint/golint
|
|
|
|
- go get github.com/mattn/goveralls
|
2016-11-26 16:00:43 +07:00
|
|
|
- govendor sync
|
2016-11-26 16:25:16 +07:00
|
|
|
script:
|
2016-11-28 00:49:55 +07:00
|
|
|
- go vet
|
2016-11-28 07:23:23 +07:00
|
|
|
- golint -set_exit_status
|
2016-11-28 18:20:19 +07:00
|
|
|
- go test -race -v -tags test -covermode=atomic -coverprofile=profile.cov
|
|
|
|
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
|