From 62f30c05ff65cfa0a69aff45dbb59ecbfd1210ee Mon Sep 17 00:00:00 2001 From: bjdgyc Date: Tue, 2 Feb 2021 20:34:22 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd9b643..f5f0d88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,14 @@ language: go go: - 1.15 - -os: - - centos - -script: >- - go test -v ./... - go build ./... + - tip + +before_install: + - go get -t -v ./... + +script: + - go test -race -coverprofile=coverage.txt -covermode=atomic + +after_success: + - bash <(curl -s https://codecov.io/bash)