Skip to content

Commit

Permalink
Merge pull request #196 from cdent/py36-support
Browse files Browse the repository at this point in the history
Py36 support
  • Loading branch information
cdent committed Jan 2, 2017
2 parents 2b9774a + 174077b commit d804413
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 16 deletions.
36 changes: 22 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
sudo: false
language: python
python:
- "3.5"
install:
- pip install tox
script:
- tox
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=pep8
- TOXENV=py35-failskip
- TOXENV=py35-limit
- TOXENV=py35-prefix
- TOXENV=py27-pytest
- TOXENV=py35-pytest
matrix:
include:
- env: TOXENV=py27
- env: TOXENV=py33
- env: TOXENV=py34
- env: TOXENV=pypy
- env: TOXENV=pep8
- env: TOXENV=py27-pytest
- python: 3.5
env: TOXENV=py35
- python: 3.5
env: TOXENV=py35-pytest
- python: 3.5
env: TOXENV=py35-failskip
- python: 3.5
env: TOXENV=py35-limit
- python: 3.5
env: TOXENV=py35-prefix
- python: 3.6
env: TOXENV=py36
- python: 3.6
env: TOXENV=py36-pytest

notifications:
irc: "chat.freenode.net#gabbi"
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ looks like this::
See the docs_ for more details on the many features and formats for
setting request headers and bodies and evaluating responses.

Gabbi is tested with Python 2.7, 3.4, 3.5 and pypy.
Gabbi is tested with Python 2.7, 3.4, 3.5, 3.6 and pypy.

Tests can be run using `unittest`_ style test runners, `pytest`_
or from the command line with a `gabbi-run`_ script.
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifier =
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Software Development :: Testing

Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = py27,py33,py34,py35,pypy,pep8,limit,failskip,docs,py35-prefix,py35-limit,py35-failskip,py27-pytest,py35-pytest
envlist = py27,py33,py34,py35,py36,pypy,pep8,limit,failskip,docs,py35-prefix,py35-limit,py35-failskip,py27-pytest,py35-pytest,py36-pytest

[testenv]
deps = -r{toxinidir}/requirements.txt
Expand All @@ -21,6 +21,9 @@ commands = py.test gabbi
[testenv:py35-pytest]
commands = py.test gabbi

[testenv:py36-pytest]
commands = py.test gabbi

[testenv:py35-prefix]
setenv = GABBI_PREFIX=/snoopy

Expand Down

0 comments on commit d804413

Please sign in to comment.