aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-05-18 18:54:26 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-05-18 18:54:26 -0400
commit9c34652c5d5aa6224bb8bb3f94c4444b43b57730 (patch)
tree9553e586b33e7b305cac76943646813248f308e1
parentc41667e1dbe332f771d34b9e7d98244bbe5a13f5 (diff)
downloadcryptography-9c34652c5d5aa6224bb8bb3f94c4444b43b57730.tar.gz
cryptography-9c34652c5d5aa6224bb8bb3f94c4444b43b57730.tar.bz2
cryptography-9c34652c5d5aa6224bb8bb3f94c4444b43b57730.zip
Don't try to upgrade brew packages if they are at the latest version
-rwxr-xr-x.travis/install.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 1baae5ba..7c3e9de2 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -7,7 +7,7 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
brew update || brew update
if [[ "${OPENSSL}" != "0.9.8" ]]; then
- brew upgrade openssl
+ brew outdated openssl || brew upgrade openssl
fi
if which pyenv > /dev/null; then
@@ -24,22 +24,22 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
python get-pip.py --user
;;
py33)
- brew upgrade pyenv
+ brew outdated pyenv || brew upgrade pyenv
pyenv install 3.3.6
pyenv global 3.3.6
;;
py34)
- brew upgrade pyenv
+ brew outdated pyenv || brew upgrade pyenv
pyenv install 3.4.2
pyenv global 3.4.2
;;
pypy)
- brew upgrade pyenv
+ brew outdated pyenv || brew upgrade pyenv
pyenv install pypy-2.5.1
pyenv global pypy-2.5.1
;;
pypy3)
- brew upgrade pyenv
+ brew outdated pyenv || brew upgrade pyenv
pyenv install pypy3-2.4.0
pyenv global pypy3-2.4.0
;;