Skip to content

Commit 1d20144

Browse files
author
Will Myers
authored
Add tox + python3.6 to CI (#19)
* Add tox + python3.6 to CI * Update CHANGELOG and README * Fixup indenting
1 parent 0f6aa66 commit 1d20144

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
- "3.3"
77
- "3.4"
88
- "3.5"
9+
- "3.6"
910
install:
1011
- "pip install flake8==3.3.0"
1112
script: python setup.py test

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Current Version
2+
- Add tox
3+
- Add support for python3.6
24
- Add flake8 to test suite
35
- Move /test directory inside package
46
- Migrate relative imports to package absolute

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ touch <https://www.usebutton.com/contact>`__.
1212
Supported runtimes
1313
^^^^^^^^^^^^^^^^^^
1414

15-
- cPython ``2.6``, ``2.7``, ``3.2``, ``3.3``, ``3.4``, ``3.5``
15+
- cPython ``2.6``, ``2.7``, ``3.2``, ``3.3``, ``3.4``, ``3.5``, ``3.6``
1616

1717
Dependencies
1818
^^^^^^^^^^^^
@@ -334,6 +334,9 @@ Contributing
334334
- Installing locally: ``python setup.py install``
335335
- Running tests: ``python setup.py test`` (you'll need to `pip install flake8==3.3.0`)
336336
- Running lint directly: ``flake8 pybutton``
337+
- Running tests on all versions: ``tox``
338+
- Pre-req: `pip install tox`
339+
- Pre-req (if using pyenv): something like `pyenv local 2.7.10 2.6.9 3.1.5 3.3.6 3.4.6 3.5.3 3.6.0`
337340

338341
.. |Build Status| image:: https://travis-ci.org/button/button-client-python.svg?branch=master
339342
:target: https://travis-ci.org/button/button-client-python

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[tox]
2+
envlist = py26, py27, py33, py34, py35, py36
3+
skip_missing_interpreters = True
4+
5+
[testenv]
6+
deps =
7+
nose
8+
mock
9+
commands =
10+
python setup.py clean --all
11+
python setup.py test

0 commit comments

Comments
 (0)