From 77bfe2d0c7a77ad2807f8fe43d70bc95a45508bc Mon Sep 17 00:00:00 2001 From: toranger Date: Thu, 31 Jan 2019 10:47:05 +0800 Subject: [PATCH] fix travis yml and test --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 39bf574..f96f7e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: go go: -- '1.6' - '1.7' - '1.8' - '1.9' @@ -9,17 +8,17 @@ go: sudo: false before_install: - go get github.com/mattn/goveralls + go get github.com/stretchr/testify install: - go get - go build script: - make test - make ci-test -- go test -coverprofile=cover.out github.com/tencentyun/cos-go-sdk-v5 -- "$HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out" +- go test -coverprofile=cover.out github.com/toranger/cos-go-sdk-v5 +- "${TRAVIS_HOME}/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out" matrix: allow_failures: - - go: 1.6 - go: 1.7 - go: master env: