khenaidoo | ab1f7bd | 2019-11-14 14:00:27 -0500 | [diff] [blame] | 1 | language: go |
khenaidoo | d948f77 | 2021-08-11 17:49:24 -0400 | [diff] [blame^] | 2 | go_import_path: github.com/sirupsen/logrus |
| 3 | git: |
| 4 | depth: 1 |
khenaidoo | ab1f7bd | 2019-11-14 14:00:27 -0500 | [diff] [blame] | 5 | env: |
khenaidoo | d948f77 | 2021-08-11 17:49:24 -0400 | [diff] [blame^] | 6 | - GO111MODULE=on |
| 7 | go: [1.13.x, 1.14.x] |
| 8 | os: [linux, osx] |
| 9 | install: |
| 10 | - ./travis/install.sh |
| 11 | script: |
| 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 |