Browse Source

Fix yml and import package

tags/v0.7.8
toranger 6 years ago
parent
commit
72f6fe32b9
  1. 1
      .travis.yml
  2. 9
      costesting/ci_test.go

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

9
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,
},
},
})

Loading…
Cancel
Save