mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-24 22:32:13 +00:00
Fix travis build
This commit is contained in:
parent
fbe5d04bc0
commit
1be2230e6d
31
.travis.yml
31
.travis.yml
@ -1,36 +1,33 @@
|
||||
os:
|
||||
- linux
|
||||
|
||||
sudo: false
|
||||
|
||||
language: go
|
||||
|
||||
env:
|
||||
- IPFS_REUSEPORT=false
|
||||
|
||||
go:
|
||||
- 1.11.x
|
||||
|
||||
install: true
|
||||
env:
|
||||
global:
|
||||
- GOTFLAGS="-race"
|
||||
- IPFS_REUSEPORT=false
|
||||
matrix:
|
||||
- BUILD_DEPTYPE=gx
|
||||
- BUILD_DEPTYPE=gomod
|
||||
|
||||
|
||||
# disable travis install
|
||||
install:
|
||||
- true
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: "build and test"
|
||||
name: "gx"
|
||||
script:
|
||||
- make deps
|
||||
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
||||
|
||||
- name: "go mod"
|
||||
script:
|
||||
- export GO111MODULE=on
|
||||
- make mod_deps
|
||||
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $GOPATH/pkg/mod
|
||||
- $GOPATH/src/gx
|
||||
- $GOPATH/pkg/mod
|
||||
- /home/travis/.cache/go-build
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user