Skip to content

Commit

Permalink
Adding test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Jul 19, 2018
1 parent a903495 commit 64bcca6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ matrix:
- TOXENV=py27,report,coveralls
- python: '3.5'
env:
- TOXENV=py35,report,coveralls
- TOXENV=py35
- python: '3.6'
env:
- TOXENV=py36,report,coveralls
Expand Down
9 changes: 6 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[bdist_wheel]
universal = 1

[flake8]
max-line-length = 140
exclude = */migrations/*
[aliases]
test=pytest

[tool:pytest]
testpaths = tests
Expand All @@ -21,6 +20,10 @@ addopts =
--doctest-glob=\*.rst
--tb=short

[flake8]
max-line-length = 140
exclude = */migrations/*

[isort]
force_single_line = True
line_length = 120
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,6 @@ def read(*names, **kwargs):
# 'rst': ['docutils>=0.11'],
# ':python_version=="2.6"': ['argparse'],
},
setup_requires = ['pytest-runner'],
tests_require = ['pytest']
)

0 comments on commit 64bcca6

Please sign in to comment.