Skip to content

Commit

Permalink
CI machinery for Epsilon
Browse files Browse the repository at this point in the history
  • Loading branch information
lvh committed Jan 13, 2014
1 parent e5d3fee commit 63cbc44
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions requirements-testing.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Requirements for running the test suite using tox
coverage
27 changes: 27 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[tox]
envlist = py26,py27,pypy,py26-trunkdeps,py27-trunkdeps,pypy-trunkdeps

[testenv]
deps =
Twisted
commands =
pip install -r {toxinidir}/requirements-testing.txt
coverage run {envdir}/bin/trial \
--temp-directory={envdir}/_trial {posargs:epsilon}
coverage report --show-missing
coverage html --directory {envdir}/_coverage

[testenv:py26-trunkdeps]
basepython = python2.6
deps =
--editable=svn+svn://svn.twistedmatrix.com/svn/Twisted/trunk

[testenv:py27-trunkdeps]
basepython = python2.7
deps =
--editable=svn+svn://svn.twistedmatrix.com/svn/Twisted/trunk

[testenv:pypy-trunkdeps]
basepython = pypy
deps =
--editable=svn+svn://svn.twistedmatrix.com/svn/Twisted/trunk

0 comments on commit 63cbc44

Please sign in to comment.