mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-25 14:52:14 +00:00
Include Travis go mod tests (#261)
This commit is contained in:
parent
7024f5dbb0
commit
acfe6d01e0
15
.travis.yml
15
.travis.yml
@ -11,14 +11,25 @@ env:
|
|||||||
go:
|
go:
|
||||||
- 1.11.x
|
- 1.11.x
|
||||||
|
|
||||||
install:
|
install: true
|
||||||
- make deps
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- stage: "build and test"
|
||||||
|
name: "gx"
|
||||||
script:
|
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)
|
- 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
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user