Skip to content

Commit 53166ba

Browse files
Move to integration test script
1 parent 4f5def7 commit 53166ba

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.travis.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,6 @@ cache:
2020
directories:
2121
- "$HOME/google-cloud-sdk/"
2222
script:
23-
- |
24-
if [ ! -d "$HOME/google-cloud-sdk/bin" ]
25-
then
26-
rm -rf "$HOME/google-cloud-sdk"
27-
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
28-
curl https://sdk.cloud.google.com | bash
29-
fi
30-
gcloud components update
31-
source "$HOME/google-cloud-sdk/path.bash.inc"
32-
gcloud version
3323
- travis_wait 60 utilities/verify.sh
3424
after_success:
3525
- utilities/after_success.sh

utilities/integration_test_env.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# Ensure latest Google Cloud SDK installed, for commands below
2+
if [ ! -d "$HOME/google-cloud-sdk/bin" ]
3+
then
4+
rm -rf "$HOME/google-cloud-sdk"
5+
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
6+
curl https://sdk.cloud.google.com | bash
7+
fi
8+
gcloud components update
9+
source "$HOME/google-cloud-sdk/path.bash.inc"
10+
gcloud version
11+
112
# Remove orphaned firewall rules and networks generated by unintentional aborted runs of
213
# google-cloud-node on gapic-test project: see
314
# https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2118

0 commit comments

Comments
 (0)