go-spew/.travis.yml

26 lines
703 B
YAML
Raw Normal View History

2013-11-16 21:28:15 -06:00
language: go
go:
2017-07-11 13:34:51 -05:00
- 1.6.x
- 1.7.x
- 1.8.x
2017-08-29 14:49:58 -05:00
- 1.9.x
2016-11-23 14:24:26 -06:00
sudo: false
install:
2016-11-23 14:24:26 -06:00
- go get -v github.com/alecthomas/gometalinter
- gometalinter --install
script:
2016-11-23 14:24:26 -06:00
- export PATH=$PATH:$HOME/gopath/bin
- export GORACE="halt_on_error=1"
- test -z "$(gometalinter --disable-all
--enable=gofmt
--enable=golint
--enable=vet
--enable=gosimple
--enable=unconvert
--deadline=4m ./spew | tee /dev/stderr)"
- go test -v -race -tags safe ./spew
2017-08-29 14:49:58 -05:00
- go test -v -race -tags testcgo ./spew -covermode=atomic -coverprofile=profile.cov
after_success:
- go get -v github.com/mattn/goveralls
2014-03-27 05:08:45 -05:00
- goveralls -coverprofile=profile.cov -service=travis-ci