Skip to content

Commit

Permalink
Try isort version of script
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Apr 7, 2019
1 parent 471e4db commit 9ef194d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/before_install.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#! /bin/bash
#! /bin/bash

echo $TRAVIS_OS_NAME

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then

# Travis has an old version of pyenv by default, upgrade it
brew update > /dev/null 2>&1
brew install readline xz
brew outdated pyenv || brew upgrade pyenv

pyenv --version
Expand All @@ -17,6 +16,10 @@ echo $TRAVIS_OS_NAME
python_minor=4;;
py35)
python_minor=5;;
py36)
python_minor=6;;
py37)
python_minor=7;;
esac
latest_version=`pyenv install --list | grep -e "^[ ]*3\.$python_minor" | tail -1`

Expand Down

0 comments on commit 9ef194d

Please sign in to comment.