2013-11-16 21:28:15 -06:00
|
|
|
language: go
|
2017-10-02 15:02:53 -05:00
|
|
|
go_import_path: github.com/davecgh/go-spew
|
2016-08-16 12:40:47 -05:00
|
|
|
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
|
2018-02-21 16:46:20 -06:00
|
|
|
- 1.10.x
|
2018-08-30 14:11:22 -05:00
|
|
|
- 1.11.x
|
2017-10-02 15:02:53 -05:00
|
|
|
- tip
|
2016-11-23 14:24:26 -06:00
|
|
|
sudo: false
|
2014-03-27 04:58:48 -05:00
|
|
|
install:
|
2016-11-23 14:24:26 -06:00
|
|
|
- go get -v github.com/alecthomas/gometalinter
|
|
|
|
- gometalinter --install
|
2014-03-27 04:58:48 -05:00
|
|
|
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
|
2014-03-27 04:58:48 -05:00
|
|
|
after_success:
|
|
|
|
- go get -v github.com/mattn/goveralls
|
2014-03-27 05:08:45 -05:00
|
|
|
- goveralls -coverprofile=profile.cov -service=travis-ci
|