Skip to content

Commit

Permalink
[qacode] #88 , added tox
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto netzulo committed Dec 10, 2017
1 parent 5dab9be commit af312f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ description-file = README.rst

[aliases]
test=pytest

5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ def read(file_name=None, is_encoding=True, ignore_raises=False):
'nose-testconfig==0.10',
'pytest',
],
setup_requires=['pytest-runner'],
setup_requires=[
'pytest-runner',
'tox'
],
tests_require=[
'pytest-html',
'pytest-dependency',
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[tox]
envlist = py27,py33,py34,py35,py36
[testenv]
commands = python setup.py test

0 comments on commit af312f5

Please sign in to comment.