packer-cn/vendor/github.com/sirupsen/logrus/.travis.yml

26 lines
723 B
YAML
Raw Normal View History

2019-04-10 09:41:22 -04:00
language: go
2019-06-13 03:16:49 -04:00
go_import_path: github.com/sirupsen/logrus
2019-09-23 14:09:10 -04:00
git:
depth: 1
2019-04-10 09:41:22 -04:00
env:
2019-09-23 14:09:10 -04:00
- GO111MODULE=on
- GO111MODULE=off
go: [ 1.11.x, 1.12.x ]
os: [ linux, osx ]
2019-04-10 09:41:22 -04:00
matrix:
2019-09-23 14:09:10 -04:00
exclude:
- go: 1.12.x
2019-04-10 09:41:22 -04:00
env: GO111MODULE=off
- go: 1.11.x
2019-09-23 14:09:10 -04:00
os: osx
install:
- ./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
script:
- ./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