Skip to content

Commit 3f53ad5

Browse files
committed
Try without before_install
1 parent ad7405b commit 3f53ad5

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.travis.yml

+23-23
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,29 @@ matrix:
1616
#before_install:
1717
# - sudo apt-get install coinor-cbc
1818

19-
# before_install copied from https://pythonhosted.org/CodeChat/.travis.yml.html
20-
before_install: |
21-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
22-
brew update
23-
# Per the `pyenv homebrew recommendations <https://github.com/yyuu/pyenv/wiki#suggested-build-environment>`_.
24-
brew install openssl readline
25-
# See https://docs.travis-ci.com/user/osx-ci-environment/#A-note-on-upgrading-packages.
26-
# I didn't do this above because it works and I'm lazy.
27-
brew outdated pyenv || brew upgrade pyenv
28-
# virtualenv doesn't work without pyenv knowledge. venv in Python 3.3
29-
# doesn't provide Pip by default. So, use `pyenv-virtualenv <https://github.com/yyuu/pyenv-virtualenv/blob/master/README.md>`_.
30-
brew install pyenv-virtualenv
31-
pyenv install $PYTHON
32-
# I would expect something like ``pyenv init; pyenv local $PYTHON`` or
33-
# ``pyenv shell $PYTHON`` would work, but ``pyenv init`` doesn't seem to
34-
# modify the Bash environment. ??? So, I hand-set the variables instead.
35-
export PYENV_VERSION=$PYTHON
36-
export PATH="/Users/travis/.pyenv/shims:${PATH}"
37-
pyenv-virtualenv venv
38-
source venv/bin/activate
39-
# A manual check that the correct version of Python is running.
40-
python --version
41-
fi
19+
## before_install copied from https://pythonhosted.org/CodeChat/.travis.yml.html
20+
#before_install: |
21+
# if [ "$TRAVIS_OS_NAME" == "osx" ]; then
22+
# brew update
23+
# # Per the `pyenv homebrew recommendations <https://github.com/yyuu/pyenv/wiki#suggested-build-environment>`_.
24+
# brew install openssl readline
25+
# # See https://docs.travis-ci.com/user/osx-ci-environment/#A-note-on-upgrading-packages.
26+
# # I didn't do this above because it works and I'm lazy.
27+
# brew outdated pyenv || brew upgrade pyenv
28+
# # virtualenv doesn't work without pyenv knowledge. venv in Python 3.3
29+
# # doesn't provide Pip by default. So, use `pyenv-virtualenv <https://github.com/yyuu/pyenv-virtualenv/blob/master/README.md>`_.
30+
# brew install pyenv-virtualenv
31+
# pyenv install $PYTHON
32+
# # I would expect something like ``pyenv init; pyenv local $PYTHON`` or
33+
# # ``pyenv shell $PYTHON`` would work, but ``pyenv init`` doesn't seem to
34+
# # modify the Bash environment. ??? So, I hand-set the variables instead.
35+
# export PYENV_VERSION=$PYTHON
36+
# export PATH="/Users/travis/.pyenv/shims:${PATH}"
37+
# pyenv-virtualenv venv
38+
# source venv/bin/activate
39+
# # A manual check that the correct version of Python is running.
40+
# python --version
41+
# fi
4242

4343

4444
install:

0 commit comments

Comments
 (0)