Switch to Go modules, update dependencies
This commit is contained in:
48
vendor/github.com/oschwald/maxminddb-golang/.travis.yml
generated
vendored
Normal file
48
vendor/github.com/oschwald/maxminddb-golang/.travis.yml
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.9.x
|
||||
- 1.10.x
|
||||
- 1.11.x
|
||||
- 1.12.x
|
||||
- 1.13.x
|
||||
- 1.14.x
|
||||
- tip
|
||||
|
||||
os:
|
||||
- linux
|
||||
- linux-ppc64le
|
||||
- osx
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
|
||||
install:
|
||||
- go get -v -t ./...
|
||||
|
||||
before_script:
|
||||
- |
|
||||
if [[ $TRAVIS_GO_VERSION == 1.14 && $(arch) != 'ppc64le' ]]; then
|
||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin
|
||||
fi
|
||||
|
||||
script:
|
||||
- |
|
||||
if [ $(arch) == "ppc64le" ]; then
|
||||
go test -cpu 1,4 -v
|
||||
else
|
||||
go test -race -cpu 1,4 -v
|
||||
fi
|
||||
- |
|
||||
if [ $(arch) == "ppc64le" ]; then
|
||||
go test -v -tags appengine
|
||||
else
|
||||
go test -race -v -tags appengine
|
||||
fi
|
||||
- |
|
||||
if [[ $TRAVIS_GO_VERSION == 1.14 && $(arch) != 'ppc64le' ]]; then
|
||||
golangci-lint run
|
||||
fi
|
||||
|
||||
sudo: false
|
Reference in New Issue
Block a user