Skip to content

Commit

Permalink
Install python 3.6.5 directly from brew on macos on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc2k committed Dec 8, 2019
1 parent ed5d193 commit 0d8d4be
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
fi

if [ "$TRAVIS_OS_NAME" == "osx" ]; then
# Install Python 3.6.5 directly from brew
brew update
# see https://github.com/pyenv/pyenv/wiki#suggested-build-environment for Mac OS X
brew install openssl readline sqlite3 xz zlib
openssl version
# pyenv is already installed on a test node
brew outdated pyenv || brew upgrade pyenv
pyenv install --list
pyenv install $PYTHON
pyenv global $PYTHON
python --version
brew unlink python
brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb

python3 --version
pip --version
pip3 --version
pip3 install -r requirements_osx.txt
pip3 install coveralls
Expand Down

0 comments on commit 0d8d4be

Please sign in to comment.