diff --git a/.travis.yml b/.travis.yml index e7228e3..5202cd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ before_install: install: - go get - go build +- go build github.com/mattn/goveralls script: - make test - make ci-test diff --git a/costesting/ci_test.go b/costesting/ci_test.go index e2ecdda..7176067 100644 --- a/costesting/ci_test.go +++ b/costesting/ci_test.go @@ -6,8 +6,7 @@ import ( "fmt" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" - "github.com/tencentyun/cos-go-sdk-v5" - "github.com/tencentyun/cos-go-sdk-v5/debug" + "github.com/toranger/cos-go-sdk-v5" "io/ioutil" "math/rand" "net/http" @@ -70,12 +69,6 @@ func (s *CosTestSuite) SetupSuite() { Transport: &cos.AuthorizationTransport{ SecretID: os.Getenv("COS_SECRETID"), SecretKey: os.Getenv("COS_SECRETKEY"), - Transport: &debug.DebugRequestTransport{ - // RequestHeader: true, - // RequestBody: true, - // ResponseHeader: true, - // ResponseBody: true, - }, }, })