Skip to content

Commit 815f80d

Browse files
committed
check available python versions via pyenv
1 parent 94c6c38 commit 815f80d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ matrix:
2626
- language: cpp
2727
os: osx
2828
env:
29-
- PYTHON=3.7.9
29+
- PYTHON=3.7.8
3030
- python: 3.7.9
3131
- python: 3.7.9
3232
env:
@@ -63,6 +63,7 @@ before_install:
6363
# virtualenv doesn't work without pyenv knowledge. venv in Python 3.3
6464
# doesn't provide Pip by default. So, use `pyenv-virtualenv <https://github.com/yyuu/pyenv-virtualenv/blob/master/README.md>`_.
6565
brew install pyenv-virtualenv
66+
pyenv install --list | grep "3.7"
6667
pyenv install $PYTHON
6768
# I would expect something like ``pyenv init; pyenv local $PYTHON`` or
6869
# ``pyenv shell $PYTHON`` would work, but ``pyenv init`` doesn't seem to

0 commit comments

Comments
 (0)