@@ -16,29 +16,29 @@ matrix:
16
16
# before_install:
17
17
# - sudo apt-get install coinor-cbc
18
18
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
42
42
43
43
44
44
install :
0 commit comments