2018-11-30 14:01:20 +01:00
language : go
2019-02-13 14:12:12 +01:00
go_import_path : github.com/sirupsen/logrus
2019-04-15 14:00:19 +02:00
git :
depth : 1
2018-11-30 14:01:20 +01:00
env :
2019-04-15 14:00:19 +02:00
- GO111MODULE=on
- GO111MODULE=off
2019-06-12 20:46:26 +02:00
go : [ 1.11 .x, 1.12.x ]
os : [ linux, osx ]
2018-11-30 14:01:20 +01:00
matrix :
2019-04-15 14:00:19 +02:00
exclude :
2019-06-12 20:46:26 +02:00
- go : 1.12 .x
env : GO111MODULE=off
- go : 1.11 .x
os : osx
2019-04-15 14:00:19 +02:00
install :
2019-06-12 20:46:26 +02:00
- ./travis/install.sh
2019-04-15 14:00:19 +02:00
- if [[ "$GO111MODULE" == "on" ]]; then go mod download; fi
- if [[ "$GO111MODULE" == "off" ]]; then go get github.com/stretchr/testify/assert golang.org/x/sys/unix github.com/konsorten/go-windows-terminal-sequences; fi
script :
2019-06-12 20:46:26 +02:00
- ./travis/cross_build.sh
2019-04-15 14:00:19 +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