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
41
.travis.yml
41
.travis.yml
@ -1,36 +1,33 @@
|
|||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
env:
|
|
||||||
- IPFS_REUSEPORT=false
|
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.11.x
|
- 1.11.x
|
||||||
|
|
||||||
install: true
|
env:
|
||||||
|
global:
|
||||||
|
- GOTFLAGS="-race"
|
||||||
|
- IPFS_REUSEPORT=false
|
||||||
|
matrix:
|
||||||
|
- BUILD_DEPTYPE=gx
|
||||||
|
- BUILD_DEPTYPE=gomod
|
||||||
|
|
||||||
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"
|
# disable travis install
|
||||||
script:
|
install:
|
||||||
- export GO111MODULE=on
|
- true
|
||||||
- make mod_deps
|
|
||||||
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
script:
|
||||||
|
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
||||||
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $GOPATH/pkg/mod
|
- $GOPATH/src/gx
|
||||||
- $GOPATH/src/gx
|
- $GOPATH/pkg/mod
|
||||||
|
- /home/travis/.cache/go-build
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user