Created
March 30, 2017 17:03
-
-
Save pomber/9f7498a448910bb57f11b8e7c82474a0 to your computer and use it in GitHub Desktop.
Add docker, gcloud and kubectl to Travis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
directories: | |
- "$HOME/google-cloud-sdk/" | |
services: | |
- docker | |
before_deploy: | |
- if [ ! -d "$HOME/google-cloud-sdk/bin" ]; then rm -rf $HOME/google-cloud-sdk; export CLOUDSDK_CORE_DISABLE_PROMPTS=1; curl https://sdk.cloud.google.com | bash; fi | |
- source /home/travis/google-cloud-sdk/path.bash.inc | |
- gcloud --quiet version | |
- gcloud --quiet components update | |
- gcloud --quiet components update kubectl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment