Skip to content

Commit

Permalink
script: readd gpg (#48327)
Browse files Browse the repository at this point in the history
  • Loading branch information
commitay authored and vitorgalvao committed Jun 13, 2018
1 parent 307c45f commit 19eef7e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/travis/script.sh
Expand Up @@ -34,6 +34,13 @@ run export HOMEBREW_NO_AUTO_UPDATE=1
if [[ ${#casks_wrong_dir[@]} -gt 0 ]]; then
odie "Casks added outside Casks directory: ${casks_wrong_dir[*]}"
elif [[ ${#modified_casks[@]} -gt 0 ]]; then
if [[ ${#modified_casks[@]} -le 3 ]]; then
for cask in "${modified_casks[@]}"; do
if brew cask _stanza gpg "${cask}" &> /dev/null; then
run brew outdated gnupg || run brew upgrade gnupg
fi
done
fi
run brew cask _audit_modified_casks "${TRAVIS_COMMIT_RANGE}"
run brew cask style "${modified_casks[@]}"
if [[ ${#modified_casks[@]} -le 3 ]]; then
Expand Down

0 comments on commit 19eef7e

Please sign in to comment.