Skip to content

Commit 013dbd1

Browse files
nils-wernerhameerabbasi
authored andcommitted
Tox for cross Python-version testing (#77)
1 parent b8ad000 commit 013dbd1

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
install_requires=list(open('requirements.txt').read().strip().split('\n')),
1919
extras_require={
2020
'tests': [
21+
'tox',
2122
'pytest',
2223
'pytest-cov',
2324
'pytest-flake8',

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[tox]
2+
envlist = py27,py36
3+
[testenv]
4+
commands=
5+
py.test {posargs}
6+
extras=
7+
docs
8+
tests

0 commit comments

Comments
 (0)