blob: 5e20aa4140c32c1ed3d23df6d8d59434c28f29e2 [file] [log] [blame]
khenaidooab1f7bd2019-11-14 14:00:27 -05001language: go
khenaidood948f772021-08-11 17:49:24 -04002go_import_path: github.com/sirupsen/logrus
3git:
4 depth: 1
khenaidooab1f7bd2019-11-14 14:00:27 -05005env:
khenaidood948f772021-08-11 17:49:24 -04006 - GO111MODULE=on
7go: [1.13.x, 1.14.x]
8os: [linux, osx]
9install:
10 - ./travis/install.sh
11script:
12 - ./travis/cross_build.sh
13 - ./travis/lint.sh
14 - export GOMAXPROCS=4
15 - export GORACE=halt_on_error=1
16 - go test -race -v ./...
17 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go test -race -v -tags appengine ./... ; fi