chore: update travis config
This commit is contained in:
parent
f77b70919a
commit
fd0c4d73c6
25
.travis.yml
25
.travis.yml
|
@ -4,27 +4,24 @@ os:
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.13.x
|
- 1.14.x
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
|
||||||
- GOTFLAGS="-race"
|
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD_DEPTYPE=gomod
|
- 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)
|
|
||||||
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $GOPATH/pkg/mod
|
- $GOPATH/pkg/mod
|
||||||
- $HOME/.cache/go-build
|
- $HOME/.cache/go-build
|
||||||
|
|
||||||
|
script:
|
||||||
|
- go build ./...
|
||||||
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
Loading…
Reference in New Issue