Skip to content

Commit

Permalink
Adds testing for CPython 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture committed Oct 3, 2018
1 parent 5760a5d commit c9c582e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ python:
- 3.4
- 3.5
- 3.6
- 3.7-dev # FIXME when 3.7 is available
- pypy
- pypy3
install: travis_retry pip install tox-travis
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM funkyfuture/nest-of-serpents
ENTRYPOINT tox
WORKDIR /src

RUN pip3.6 install black flake8 pre-commit pytest tox PyYAML Sphinx \
RUN pip3.7 install black flake8 pre-commit pytest tox PyYAML Sphinx \
&& mkdir /home/tox \
&& mv /root/.cache /home/tox/

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py27,py34,py35,py36,pypy,pypy3,doclinks,doctest,linting
envlist=py27,py34,py35,py36,py37,pypy,pypy3,doclinks,doctest,linting

[testenv]
deps=pytest
Expand All @@ -20,7 +20,6 @@ commands=make doctest

[testenv:linting]
skipsdist=True
basepython=python3.6
deps=pre-commit
commands=pre-commit run --config .linting-config.yaml --all-files

Expand All @@ -32,6 +31,7 @@ ignore=E203,W503
2.7 = py27
3.4 = py34
3.5 = py35
3.6 = py36,doclinks,doctest,linting
3.6 = py36
3.7 = py37,doclinks,doctest,linting
pypy = pypy
pypy3 = pypy3

0 comments on commit c9c582e

Please sign in to comment.