mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Fix Travis style/docs/pip build
When Travis changes their default Python 3.x, it breaks any hardcoded version selection. Fix: make pyenv activate everything (2.7, 3.x) and use whichever Python 3.x is on by default. [skip appveyor]
This commit is contained in:
parent
27680302dd
commit
1caeb8d789
@ -13,8 +13,8 @@ matrix:
|
||||
env: STYLE DOCS PIP
|
||||
cache: false
|
||||
before_install:
|
||||
- pyenv global system 2.7 3.6
|
||||
- PY_CMD=python3.6
|
||||
- pyenv global $(pyenv whence 2to3) # activate all python versions
|
||||
- PY_CMD=python3
|
||||
- $PY_CMD -m pip install --user --upgrade pip wheel
|
||||
install:
|
||||
- $PY_CMD -m pip install --user --upgrade sphinx sphinx_rtd_theme breathe flake8 pep8-naming pytest
|
||||
|
Loading…
Reference in New Issue
Block a user