Browse Source

modify appveyor

wenzuochao 6 years ago
parent
commit
891dec3efd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      appveyor.yml

+ 1 - 1
appveyor.yml

@@ -20,7 +20,7 @@ test_script:
   - go build ./sdk
   - go build ./services/...
   - go test -race -coverprofile=coverage.txt -covermode=atomic ./sdk/...
-  - test -z $ACCESS_KEY_ID -a -z $ACCESS_KEY_SECRET || go test -v -timeout 120s ./integration/...
+  - IF DEFINED ACCESS_KEY_ID (go test -v -timeout 120s ./integration/...)
 
 after_test:
   - bash <(curl -s https://codecov.io/bash)