Skip to content

Instantly share code, notes, and snippets.

@pomber
Created March 30, 2017 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pomber/9f7498a448910bb57f11b8e7c82474a0 to your computer and use it in GitHub Desktop.
Save pomber/9f7498a448910bb57f11b8e7c82474a0 to your computer and use it in GitHub Desktop.
Add docker, gcloud and kubectl to Travis
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