go-geoip/vendor/github.com/oschwald/geoip2-golang/.travis.yml
2018-11-06 10:06:17 +08:00

27 lines
439 B
YAML

language: go
go:
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- "1.10"
- tip
matrix:
allow_failures:
- go: tip
before_install:
- "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then go get -v github.com/golang/lint/golint; fi"
script:
- go test -race -cpu 1,4 -v
- go test -race -v -tags appengine
- "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then go vet ./...; fi"
- "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then golint .; fi"
sudo: false