Add support for testing with multiple Python versions via tox

This commit is contained in:
buckket 2016-02-09 14:08:35 +01:00
parent 3375958c10
commit da3df56d4f
2 changed files with 10 additions and 1 deletions

3
.gitignore vendored
View File

@ -5,6 +5,7 @@
*.pex
.cache
.idea
.tox
build
dist
venv
venv

8
tox.ini Normal file
View File

@ -0,0 +1,8 @@
[tox]
envlist = py34, py35
[testenv]
commands = py.test --tb=short -v --cov {envsitepackagesdir}/twtxt/ tests/
deps =
pytest
pytest-cov