go-spew/.travis.yml

24 lines
678 B
YAML
Raw Normal View History

2013-11-16 21:28:15 -06:00
language: go
go:
- 1.6.3
2016-11-23 14:24:26 -06:00
- 1.7.4
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
- go test -v -race -tags testcgo ./spew -covermode=count -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