logrus/.travis.yml

18 lines
392 B
YAML
Raw Normal View History

2014-03-26 17:20:36 +04:00
language: go
go_import_path: github.com/sirupsen/logrus
git:
depth: 1
2017-05-15 13:45:16 +03:00
env:
- GO111MODULE=on
2020-11-06 15:26:15 +03:00
go: 1.15.x
os: linux
install:
- ./travis/install.sh
script:
- go run mage.go -v crossBuild
2020-12-17 17:58:09 +03:00
- go run mage.go lint
- 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