-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
31 lines (25 loc) · 689 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
sudo: required
language: node_js
node_js:
- "10"
cache: npm
services:
- docker
before_install:
- 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 > /dev/null;
fi
- . $HOME/google-cloud-sdk/path.bash.inc
- gcloud --quiet version
- gcloud --quiet components update
- gcloud --quiet components update kubectl
before_deploy:
- openssl aes-256-cbc -K $encrypted_5bc2c3063f5f_key -iv $encrypted_5bc2c3063f5f_iv
-in scripts/gcp-client-secret.json.enc -out $HOME/gcp-client-secret.json -d
deploy:
- provider: script
script: scripts/deploy-dev.sh
on:
branch: master