2020-05-09 19:09:27 +02:00
|
|
|
language: go
|
|
|
|
go_import_path: github.com/sirupsen/logrus
|
|
|
|
git:
|
|
|
|
depth: 1
|
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2020-08-16 15:49:31 +02:00
|
|
|
go: [1.13.x, 1.14.x]
|
|
|
|
os: [linux, osx]
|
2020-05-09 19:09:27 +02:00
|
|
|
install:
|
|
|
|
- ./travis/install.sh
|
|
|
|
script:
|
|
|
|
- ./travis/cross_build.sh
|
2020-08-16 15:49:31 +02:00
|
|
|
- ./travis/lint.sh
|
2020-05-09 19:09:27 +02:00
|
|
|
- export GOMAXPROCS=4
|
|
|
|
- export GORACE=halt_on_error=1
|
|
|
|
- go test -race -v ./...
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go test -race -v -tags appengine ./... ; fi
|