mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
Use remote config for travis builds when possible (#241)
* use remote config * fix bash Former-commit-id: 2a7b342baea6168970088d547313d7517ec0d6d9 [formerly d1adf6e65b1bb505eea12cf65499a72713621ca2] Former-commit-id: e0dba82a206e174178373561d497152e47300aaf
This commit is contained in:
@@ -42,8 +42,11 @@ matrix:
|
||||
./install.sh --user
|
||||
rm -f install.sh
|
||||
# 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
|
||||
- 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;
|
||||
REMOTE_FLAGS=--config=remote;
|
||||
fi
|
||||
|
||||
install: true # Skip install go packages.
|
||||
|
||||
@@ -53,7 +56,7 @@ matrix:
|
||||
bazel \
|
||||
--bazelrc=.travis-bazelrc \
|
||||
test \
|
||||
//...
|
||||
//... $REMOTE_FLAGS
|
||||
|
||||
# Check that BUILD files are formatted correctly.
|
||||
- ./check_gazelle.sh
|
||||
|
||||
Reference in New Issue
Block a user