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