clair/vendor/github.com/julienschmidt/httprouter/.travis.yml
Sida Chen 4106322107 vendor: Update gopkg.in/yaml.v2 package
* Update gopkg.in/yaml.v2 package and glide setting
* Update other packages
2018-10-22 23:00:58 -04:00

19 lines
466 B
YAML

sudo: false
language: go
go:
- 1.7
- 1.8
- 1.9
- "1.10"
- tip
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- go get github.com/golang/lint/golint
script:
- go test -v -covermode=count -coverprofile=coverage.out
- go vet ./...
- test -z "$(gofmt -d -s . | tee /dev/stderr)"
- test -z "$(golint ./... | tee /dev/stderr)"
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci