logrus/.travis.yml

18 lines
401 B
YAML
Raw Normal View History

2014-03-26 13:20:36 +00:00
language: go
go_import_path: github.com/sirupsen/logrus
git:
depth: 1
2017-05-15 10:45:16 +00:00
env:
- GO111MODULE=on
2020-11-06 12:13:37 +00:00
go: [1.14.x, 1.15.x]
2019-10-13 23:39:38 +00:00
os: [linux, osx]
install:
- ./travis/install.sh
script:
- ./travis/cross_build.sh
2019-10-25 12:49:48 +00:00
- ./travis/lint.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