2018-08-06 21:47:05 +02:00
|
|
|
language: go
|
2019-01-31 17:06:36 +01:00
|
|
|
go_import_path: github.com/sirupsen/logrus
|
2019-06-16 23:33:25 +02:00
|
|
|
git:
|
|
|
|
depth: 1
|
2018-08-06 21:47:05 +02:00
|
|
|
env:
|
2019-06-16 23:33:25 +02:00
|
|
|
- GO111MODULE=on
|
2020-05-24 00:06:21 +02:00
|
|
|
go: [1.13.x, 1.14.x]
|
|
|
|
os: [linux, osx]
|
2019-06-16 23:33:25 +02:00
|
|
|
install:
|
|
|
|
- ./travis/install.sh
|
|
|
|
script:
|
|
|
|
- ./travis/cross_build.sh
|
2020-05-24 00:06:21 +02:00
|
|
|
- ./travis/lint.sh
|
2019-06-16 23:33:25 +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
|