diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-08-15 05:07:15 -0700 |
---|---|---|
committer | Timothy Edmund Crosley <timothy.crosley@gmail.com> | 2019-08-15 22:52:24 -0700 |
commit | dca0a3ccad2f96da8b1ddbc72f72cd4da8ce5c17 (patch) | |
tree | c3bd06dbc2c54b5142c916f3095478853e33772f /scripts | |
parent | 538864097a355b4c7f5fbdfe537a5165633850b0 (diff) | |
download | isort-dca0a3ccad2f96da8b1ddbc72f72cd4da8ce5c17.tar.gz |
Remove unnecessary before_install.sh script
Only used on macOS and not required to successfully run tests, so remove
it. Instead, rely on the environment created by Travis CI.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/before_install.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/scripts/before_install.sh b/scripts/before_install.sh deleted file mode 100755 index fa86a770..00000000 --- a/scripts/before_install.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /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 outdated pyenv || brew upgrade pyenv - - pyenv --version - - # Find the latest requested version of python - case "$TOXENV" in - py34) - 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` - - pyenv install $latest_version - pyenv local $latest_version -fi |