Skip to content

Commit

Permalink
add tox.ini configuration file for running pytest on Python 2.7 and 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosimo Lupo committed Aug 8, 2016
1 parent 4c0634b commit ad31f4f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[tox]
envlist = py27, py35

[testenv]
deps =
pytest
-rrequirements.txt
commands =
py.test {posargs}

[pytest]
minversion = 2.8
testpaths =
Lib/ufo2ft
python_files =
*_test.py
python_classes =
*Test
addopts =
# run py.test in verbose mode
-v
# show extra test summary info
-r a
# run doctests in all .py modules
--doctest-modules

0 comments on commit ad31f4f

Please sign in to comment.