Skip to content

Commit a2148d6

Browse files
committed
Update travis config to specify no credential tests on PRs
1 parent a4282b3 commit a2148d6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ go:
1111
env:
1212
- CGO_ENABLED=0
1313

14-
script: travis_wait 20 ./scripts/build.sh
14+
script: |
15+
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
16+
export UPCLOUD_GO_SDK_TEST_NO_CREDENTIALS="yes"
17+
fi
18+
travis_wait 20 ./scripts/build.sh

0 commit comments

Comments
 (0)