2019-05-23 23:10:57 +08:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2019-12-07 05:30:47 +08:00
|
|
|
- 1.13.x
|
2019-05-23 23:10:57 +08:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- BUILD_DEPTYPE=gomod
|
2019-05-23 23:37:40 +08:00
|
|
|
matrix:
|
|
|
|
- GOTFLAGS="-race"
|
|
|
|
- GOTFLAGS="-race -tags=openssl"
|
2019-05-23 23:10:57 +08:00
|
|
|
|
|
|
|
# disable travis install
|
|
|
|
install:
|
|
|
|
- true
|
|
|
|
|
2019-07-25 22:51:06 +08:00
|
|
|
script: bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: "Test"
|
|
|
|
script: "./compat-check"
|
|
|
|
name: "API compatibility test"
|
|
|
|
env:
|
|
|
|
- GOTFLAGS=""
|
2019-05-23 23:10:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|