diff --git a/.travis.yml b/.travis.yml index a156d3e..ce4db22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file