2018-11-28 22:41:16 +05:30
language : go
2019-07-31 11:39:38 +05:30
go_import_path : github.com/sirupsen/logrus
git :
depth : 1
2018-11-28 22:41:16 +05:30
env :
2019-07-31 11:39:38 +05:30
- GO111MODULE=on
- GO111MODULE=off
go : [ 1.11 .x, 1.12.x ]
os : [ linux, osx ]
matrix :
exclude :
- go : 1.12 .x
env : GO111MODULE=off
- go : 1.11 .x
os : osx
2018-11-28 22:41:16 +05:30
install :
2019-07-31 11:39:38 +05:30
- ./travis/install.sh
- 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
2018-11-28 22:41:16 +05:30
script :
2019-07-31 11:39:38 +05:30
- ./travis/cross_build.sh
- 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