Skip to content

Commit

Permalink
added tox-support for automated testing
Browse files Browse the repository at this point in the history
  • Loading branch information
glomium committed Mar 3, 2014
1 parent 9503417 commit 07b2dfa
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ pisa.egg-info
.pydevproject
.pydevproject.bak
.settings/
.tox
nosetests.xml
PIL-1.1.7-py2.7-linux-x86_64.egg/
bin/
html5lib-0.90-py2.7.egg/
Expand Down
96 changes: 96 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
[tox]
envlist =
py26-r24,
py26-r25,
py26-r26,
py26-r27,

py27-r24,
py27-r25,
py27-r26,
py27-r27,
py27-r30,

develop

[testenv]
commands =
{envpython} -c "from reportlab import Version; print('%s %s' % ('Reportlab Version', Version))"
nosetests --with-xunit --with-coverage --cover-package=xhtml2pdf
deps =
Pillow>=2.0
coverage
html5lib
httplib2
nose
pyPdf2

[testenv:develop]
deps = -rrequirements.txt

# === python 2.6 ==============================================================

[testenv:py26-r24]
basepython = python2.6
deps =
reportlab>=2.4,<2.5
{[testenv]deps}

[testenv:py26-r25]
basepython = python2.6
deps =
reportlab>=2.5,<2.6
{[testenv]deps}

[testenv:py26-r26]
basepython = python2.6
deps =
reportlab>=2.6,<2.7
{[testenv]deps}

[testenv:py26-r27]
basepython = python2.6
deps =
reportlab>=2.7,<2.8
{[testenv]deps}

# === python 2.7 ==============================================================

[testenv:py27-r24]
basepython = python2.7
deps =
reportlab>=2.4,<2.5
{[testenv]deps}

[testenv:py27-r25]
basepython = python2.7
deps =
reportlab>=2.5,<2.6
{[testenv]deps}

[testenv:py27-r26]
basepython = python2.7
deps =
reportlab>=2.6,<2.7
{[testenv]deps}

[testenv:py27-r27]
basepython = python2.7
deps =
reportlab>=2.7,<2.8
{[testenv]deps}

[testenv:py27-r30]
basepython = python2.7
deps =
reportlab>=3.0,<3.1
{[testenv]deps}

# === python 3.3 ==============================================================

[testenv:py33-r30]
basepython = python3.3
deps =
reportlab>=3.0,<3.1
{[testenv]deps}

0 comments on commit 07b2dfa

Please sign in to comment.