瀏覽代碼

Merge branch 'test' of https://github.com/aliyun/alibaba-cloud-sdk-go into test

归邪 8 年之前
父節點
當前提交
c33868fa6c
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      integration/cdn_test.go

+ 5 - 0
integration/cdn_test.go

@@ -5,6 +5,7 @@ import (
 	"fmt"
 	"fmt"
 	"github.com/aliyun/alibaba-cloud-sdk-go/services/cdn"
 	"github.com/aliyun/alibaba-cloud-sdk-go/services/cdn"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/assert"
+	"os"
 )
 )
 
 
 func TestCdnInstance(t *testing.T) {
 func TestCdnInstance(t *testing.T) {
@@ -17,6 +18,10 @@ func TestCdnInstance(t *testing.T) {
 
 
 	// getCdnStatus
 	// getCdnStatus
 	assertCdnStatus(t, cdnClient)
 	assertCdnStatus(t, cdnClient)
+
+	// test travis if the key is hidden
+	testKey := os.Getenv("TestKey")
+	fmt.Println("test key : " + testKey)
 }
 }
 
 
 func assertCdnStatus(t *testing.T, client *cdn.Client){
 func assertCdnStatus(t *testing.T, client *cdn.Client){