mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-27 23:40:11 +08:00
fdc64dde88
That way, the root module doesn't depend on gocompat and all its dependencies.
38 lines
564 B
YAML
38 lines
564 B
YAML
os:
|
|
- linux
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.13.x
|
|
|
|
env:
|
|
global:
|
|
- BUILD_DEPTYPE=gomod
|
|
matrix:
|
|
- GOTFLAGS="-race"
|
|
- GOTFLAGS="-race -tags=openssl"
|
|
|
|
# disable travis install
|
|
install:
|
|
- true
|
|
|
|
script: bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
|
|
|
jobs:
|
|
include:
|
|
- stage: "Test"
|
|
script: "./tools/compat-check"
|
|
name: "API compatibility test"
|
|
env:
|
|
- GOTFLAGS=""
|
|
|
|
|
|
cache:
|
|
directories:
|
|
- $GOPATH/pkg/mod
|
|
- $HOME/.cache/go-build
|
|
|
|
notifications:
|
|
email: false
|