go-libp2p-core/.travis.yml
Jakub Sztandera f9ca60b486 Add compat check (#40)
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-25 15:51:06 +01:00

38 lines
558 B
YAML

os:
- linux
language: go
go:
- 1.11.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: "./compat-check"
name: "API compatibility test"
env:
- GOTFLAGS=""
cache:
directories:
- $GOPATH/pkg/mod
- $HOME/.cache/go-build
notifications:
email: false