go-geoip/vendor/github.com/oschwald/maxminddb-golang/.travis.yml

26 lines
434 B
YAML

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