Use 3.7 for RTD

This commit is contained in:
Hynek Schlawack 2019-02-25 16:28:53 +01:00
parent 4de9481d14
commit aa9f62f244
3 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
---
version: 2
python:
version: 3
version: 3.7
pip_install: true
extra_requirements:
- docs

View File

@ -44,7 +44,7 @@ matrix:
env: TOXENV=py37
# Docs
- python: "3.5"
- python: "3.7"
stage: docs
env: TOXENV=docs
- python: "3.7"

View File

@ -45,8 +45,8 @@ commands = pre-commit run --all-files
[testenv:docs]
# RTD only allows for 3.5
basepython = python3.5
# RTD only allows for 3.7
basepython = python3.7
extras = docs
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html