Browse Source

Update .travis.yml

Jackson Tian 7 years ago
parent
commit
c9fcf74964
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -24,7 +24,7 @@ script:
   - go build ./sdk
   - go build ./sdk
   - go build ./services/...
   - go build ./services/...
   - go test -race -coverprofile=coverage.txt -covermode=atomic ./sdk/...
   - go test -race -coverprofile=coverage.txt -covermode=atomic ./sdk/...
-  - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then go test -v -timeout 60s ./integration/... ; fi
+  - test -z $ACCESS_KEY_ID -a -z $ACCESS_KEY_SECRET || go test -v -timeout 60s ./integration/...
 
 
 after_success:
 after_success:
   - bash <(curl -s https://codecov.io/bash)
   - bash <(curl -s https://codecov.io/bash)