Jelajahi Sumber

test key

Signed-off-by: 高汝彤 <rutong.grt@alibaba-inc.com>
高汝彤 8 tahun lalu
induk
melakukan
f454cc0f1b
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      integration/cdn_test.go

+ 5 - 0
integration/cdn_test.go

@@ -5,6 +5,7 @@ import (
 	"fmt"
 	"github.com/aliyun/alibaba-cloud-sdk-go/services/cdn"
 	"github.com/stretchr/testify/assert"
+	"os"
 )
 
 func TestCdnInstance(t *testing.T) {
@@ -17,6 +18,10 @@ func TestCdnInstance(t *testing.T) {
 
 	// getCdnStatus
 	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){