2019-04-02 12:32:33 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2020-12-19 04:50:22 +00:00
|
|
|
- 1.15.x
|
2019-04-02 12:32:33 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- BUILD_DEPTYPE=gomod
|
|
|
|
|
|
|
|
# disable travis install
|
|
|
|
install:
|
|
|
|
- true
|
|
|
|
|
2019-05-07 11:49:22 +00:00
|
|
|
# run tests with and without race detection
|
2019-04-02 12:32:33 +00:00
|
|
|
script:
|
|
|
|
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
2019-05-07 11:49:22 +00:00
|
|
|
- GOTFLAGS="-race" bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
2019-04-02 12:32:33 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $GOPATH/src/gx
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
|
|
|
|
notifications:
|
2019-04-30 20:38:38 +00:00
|
|
|
email: false
|