k3s/vendor/github.com/sirupsen/logrus/.travis.yml

18 lines
401 B
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
language: go
2019-08-22 05:12:46 +00:00
go_import_path: github.com/sirupsen/logrus
git:
depth: 1
2019-01-12 04:58:27 +00:00
env:
2019-08-22 05:12:46 +00:00
- GO111MODULE=on
go: [1.13.x, 1.14.x]
os: [linux, osx]
2019-01-12 04:58:27 +00:00
install:
2019-09-05 18:55:53 +00:00
- ./travis/install.sh
2019-01-12 04:58:27 +00:00
script:
2019-09-05 18:55:53 +00:00
- ./travis/cross_build.sh
- ./travis/lint.sh
2019-08-22 05:12:46 +00:00
- export GOMAXPROCS=4
- export GORACE=halt_on_error=1
2019-01-12 04:58:27 +00:00
- go test -race -v ./...
2019-08-22 05:12:46 +00:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go test -race -v -tags appengine ./... ; fi