chore: update travis config

This commit is contained in:
David Dias 2020-03-25 07:28:09 +00:00 committed by vyzo
parent f77b70919a
commit fd0c4d73c6
1 changed files with 11 additions and 14 deletions

View File

@ -4,27 +4,24 @@ os:
language: go
go:
- 1.13.x
- 1.14.x
env:
global:
- GOTFLAGS="-race"
matrix:
- BUILD_DEPTYPE=gomod
# disable travis install
install:
- true
script:
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
- GOTFLAGS="-race"
- GOTFLAGS="-race -tags=openssl"
cache:
directories:
- $GOPATH/pkg/mod
- $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:
email: false
email: false