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 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