Skip to content

Commit

Permalink
Python 3.7 release
Browse files Browse the repository at this point in the history
- add Python 3.8 dev tests as failure allowed
- Python 3.7 tests are no longer allowed to fail
  • Loading branch information
gaborbernat committed Jul 2, 2018
1 parent a295f57 commit 4b5f58a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ python:
- 3.4
- 3.5
- 3.6
- 3.7-dev
- 3.7
- 3.8-dev
- nightly
- pypy
env:
Expand All @@ -16,13 +17,13 @@ matrix:
fast_finish: true
allow_failures:
- os: osx
- python: 3.7-dev
- python: 3.8-dev
- python: nightly
- python: pypy
include:
- python: 3.6
- python: 3.7
env: TOXENV=docs
- python: 3.6
- python: 3.7
env: TOXENV=fix-lint
- os: osx
language: generic
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ environment:
- TOXENV: py34
- TOXENV: py35
- TOXENV: py36
- TOXENV: py37

matrix:
fast_finish: true
Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist = py27,
py34,
py35,
py36,
py37,
pypy,
coverage,
fix-lint,
Expand All @@ -22,15 +23,15 @@ commands = pytest {posargs:--cov="{envsitepackagesdir}/tox" --cov-config="{toxin

[testenv:docs]
description = invoke sphinx-build to build the HTML docs and check that all links are valid
basepython = python3.6
basepython = python3.7
extras = docs
changedir = {toxinidir}
commands = sphinx-build -d "{toxworkdir}/docs_doctree" doc "{toxworkdir}/docs_out" --color -W -bhtml {posargs}
python -c 'print("documentation available under file://{toxworkdir}/docs_out/index.html")'

[testenv:fix-lint]
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
basepython = python3.6
basepython = python3.7
passenv = {[testenv]passenv}
HOMEPATH
# without PROGRAMDATA cloning using git for Windows will fail with an
Expand Down Expand Up @@ -71,11 +72,11 @@ commands = codecov --file "{toxworkdir}/coverage.xml"
[testenv:exit_code]
# to see how the InvocationError is displayed, use
# PYTHONPATH=.:$PYTHONPATH python3 -m tox -e exit_code
basepython = python3.6
basepython = python3.7
description = commands with several exit codes
skip_install = True
changedir = {toxinidir}
commands = python3.6 -c "import sys; sys.exit(139)"
commands = python3.7 -c "import sys; sys.exit(139)"

[testenv:pra]
platform = linux
Expand All @@ -95,7 +96,7 @@ description = generate a DEV environment
extras = testing, docs
# required to make looponfail reload on every source code change
usedevelop = True
basepython = python3.6
basepython = python3.7
changedir = {toxinidir}
commands = python -m pip list --format=columns
python -c 'import sys; print(sys.executable)'
Expand Down

0 comments on commit 4b5f58a

Please sign in to comment.