mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-07 23:43:10 +00:00
Update travis config
This commit is contained in:
parent
0297994296
commit
b5f1479548
23
.travis.yml
23
.travis.yml
@ -1,27 +1,32 @@
|
|||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.10.x
|
- 1.11.x
|
||||||
|
|
||||||
install: true
|
env:
|
||||||
|
global:
|
||||||
|
- GOTFLAGS="-race"
|
||||||
|
matrix:
|
||||||
|
- BUILD_DEPTYPE=gx
|
||||||
|
- BUILD_DEPTYPE=gomod
|
||||||
|
|
||||||
before_install:
|
|
||||||
- make deps
|
# disable travis install
|
||||||
|
install:
|
||||||
|
- true
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go vet
|
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
|
||||||
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
|
||||||
|
|
||||||
after_success:
|
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $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