diff --git a/.travis.yml b/.travis.yml index a561496ae..ebfde92ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,9 +41,9 @@ matrix: chmod +x install.sh ./install.sh --user rm -f install.sh - # Decrypt service account - - openssl aes-256-cbc -K $encrypted_64ca747eb448_key -iv $encrypted_64ca747eb448_iv - -in service-account.json.enc -out /tmp/service-account.json -d + # Decrypt service account (only works on prysmaticlabs branches) + - if [[ $encrypted_64ca747eb448_iv ]]; then openssl aes-256-cbc -K $encrypted_64ca747eb448_key -iv $encrypted_64ca747eb448_iv + -in service-account.json.enc -out /tmp/service-account.json -d; fi install: true # Skip install go packages.