Skip to content

Commit 0663ce0

Browse files
author
remi Taylor
committed
Remove explicit installation of Google Cloud SDK
gcloud components update is failing in current builds latest gcloud may be available on Travis try removing gcloud installation from .travis.yml
1 parent 0343e65 commit 0663ce0

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.travis.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ cache:
2828

2929
env:
3030
global:
31-
- PATH=$PATH:$HOME/gcloud/google-cloud-sdk/bin
3231
- GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/client_secrets.json
3332
matrix:
3433
- TEST_DIR=storage
@@ -39,30 +38,8 @@ env:
3938
- TEST_DIR=appengine/endpoints
4039

4140
before_install:
42-
#ENCRYPT YOUR PRIVATE KEY (If you need authentication)
43-
# 1. Install and login to the Travis CLI:
44-
# $ gem install travis
45-
# $ travis login
46-
# 2. Move your json private key to client_secrets.json
47-
# 3. Run:
48-
# $ travis encrypt-file client_secrets.json --add
49-
# 4. Commit changes:
50-
# $ git add client_secrets.json.enc
51-
# $ git commit client_secrets.json.enc .travis.yml
5241
- openssl aes-256-cbc -K $encrypted_aeb4e2af7332_key -iv $encrypted_aeb4e2af7332_iv
5342
-in client_secrets.json.enc -out client_secrets.json -d
54-
- if [ ! -d $HOME/gcloud/google-cloud-sdk ]; then
55-
mkdir -p $HOME/gcloud &&
56-
wget https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz --directory-prefix=$HOME/gcloud &&
57-
cd $HOME/gcloud &&
58-
tar xzf google-cloud-sdk.tar.gz &&
59-
printf '\ny\n\ny\ny\n' | ./google-cloud-sdk/install.sh &&
60-
cd $TRAVIS_BUILD_DIR;
61-
fi
62-
- gcloud -q components update
63-
- if [ -a client_secrets.json ]; then
64-
gcloud -q auth activate-service-account --key-file client_secrets.json;
65-
fi
6643

6744
install:
6845
- cd $TEST_DIR

0 commit comments

Comments
 (0)