.travis.yml 401 B

1234567891011121314151617
  1. language: go
  2. go_import_path: github.com/sirupsen/logrus
  3. git:
  4. depth: 1
  5. env:
  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