2018-11-27 18:44:08 -08:00
|
|
|
os:
|
|
|
|
|
- linux
|
2016-12-16 23:49:17 +01:00
|
|
|
|
2019-02-26 19:54:23 +01:00
|
|
|
language: go
|
|
|
|
|
|
2016-12-16 23:49:17 +01:00
|
|
|
go:
|
2018-11-27 18:44:08 -08:00
|
|
|
- 1.11.x
|
2020-11-19 17:38:08 -08:00
|
|
|
- 1.15.x
|
2016-12-16 23:49:17 +01:00
|
|
|
|
2019-02-26 19:54:23 +01:00
|
|
|
env:
|
|
|
|
|
global:
|
|
|
|
|
- GOTFLAGS="-race"
|
|
|
|
|
matrix:
|
|
|
|
|
- BUILD_DEPTYPE=gomod
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# disable travis install
|
2016-12-16 23:49:17 +01:00
|
|
|
install:
|
2019-02-26 19:54:23 +01:00
|
|
|
- true
|
2016-12-16 23:49:17 +01:00
|
|
|
|
|
|
|
|
script:
|
2018-11-27 18:44:08 -08:00
|
|
|
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
2016-12-16 23:49:17 +01:00
|
|
|
|
2019-02-26 19:54:23 +01:00
|
|
|
|
2018-11-27 18:44:08 -08:00
|
|
|
cache:
|
|
|
|
|
directories:
|
2019-02-26 19:54:23 +01:00
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
|
- /home/travis/.cache/go-build
|
2016-12-16 23:49:17 +01:00
|
|
|
|
2018-11-27 18:44:08 -08:00
|
|
|
notifications:
|
|
|
|
|
email: false
|