Browse Source

script.sh: update to match main repo

master
commitay 8 years ago
parent
commit
07b3d78398
  1. 5
      ci/travis/script.sh

5
ci/travis/script.sh

@ -22,7 +22,10 @@ elif [[ ${#modified_casks[@]} -gt 0 ]]; then
run brew cask _audit_modified_casks "${TRAVIS_COMMIT_RANGE}"
run brew cask style "${modified_casks[@]}"
if [[ ${#modified_casks[@]} -le 10 ]]; then
run brew cask install "${modified_casks[@]}"
for cask in "${modified_casks[@]}"; do
run brew cask reinstall "${cask}"
run brew cask uninstall "${cask}"
done
else
ohai 'More than 10 casks modified, skipping install'
fi

Loading…
Cancel
Save