2011-03-20 03:52:18 +03:00
|
|
|
#This file is very NON-DRY because tox currently doesn't support interpolation like configparser does.
|
|
|
|
#There's a ticket covering this at http://code.google.com/p/pytox/issues/detail?id=17#c0
|
2011-03-19 05:04:22 +03:00
|
|
|
|
2011-03-13 20:08:46 +03:00
|
|
|
[tox]
|
|
|
|
envlist=
|
2011-03-19 05:04:22 +03:00
|
|
|
py25-django12,
|
|
|
|
py26-django12,
|
|
|
|
py27-django12,
|
|
|
|
py25-django13,
|
|
|
|
py26-django13,
|
|
|
|
py27-django13,
|
2011-12-30 16:42:01 +04:00
|
|
|
py25-django14a1,
|
|
|
|
py26-django14a1,
|
|
|
|
py27-django14a1,
|
2012-01-02 22:37:41 +04:00
|
|
|
py25-django12-examples,
|
|
|
|
py26-django12-examples,
|
|
|
|
py27-django12-examples,
|
|
|
|
py25-django13-examples,
|
|
|
|
py26-django13-examples,
|
|
|
|
py27-django13-examples,
|
|
|
|
py25-django14a1-examples,
|
|
|
|
py26-django14a1-examples,
|
|
|
|
py27-django14a1-examples
|
2011-03-19 05:04:22 +03:00
|
|
|
|
|
|
|
########################################### CORE TESTS ############################################
|
2011-03-13 20:08:46 +03:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
commands=
|
|
|
|
python setup.py test
|
|
|
|
|
|
|
|
[testenv:py25-django12]
|
|
|
|
basepython=python2.5
|
2011-03-19 05:09:31 +03:00
|
|
|
deps=
|
2011-03-13 20:08:46 +03:00
|
|
|
django==1.2.4
|
2012-01-31 13:05:52 +04:00
|
|
|
django-staticfiles>=1.1.2
|
2011-03-18 16:15:12 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-06-26 04:58:42 +04:00
|
|
|
Pyyaml==3.10
|
2011-12-21 04:22:10 +04:00
|
|
|
# Optional packages:
|
|
|
|
markdown
|
2011-03-13 20:08:46 +03:00
|
|
|
|
|
|
|
[testenv:py26-django12]
|
|
|
|
basepython=python2.6
|
|
|
|
deps=
|
|
|
|
django==1.2.4
|
2012-01-31 13:05:52 +04:00
|
|
|
django-staticfiles>=1.1.2
|
2011-03-18 16:15:12 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-12-15 03:31:57 +04:00
|
|
|
Pyyaml==3.10
|
2011-12-21 04:22:10 +04:00
|
|
|
# Optional packages:
|
|
|
|
markdown
|
2011-03-13 20:08:46 +03:00
|
|
|
|
|
|
|
[testenv:py27-django12]
|
|
|
|
basepython=python2.7
|
|
|
|
deps=
|
|
|
|
django==1.2.4
|
2012-01-31 13:05:52 +04:00
|
|
|
django-staticfiles>=1.1.2
|
2011-03-18 16:15:12 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-12-15 03:31:57 +04:00
|
|
|
Pyyaml==3.10
|
2011-12-21 04:22:10 +04:00
|
|
|
# Optional packages:
|
|
|
|
markdown
|
|
|
|
|
2011-03-13 20:08:46 +03:00
|
|
|
[testenv:py25-django13]
|
|
|
|
basepython=python2.5
|
|
|
|
deps=
|
2011-04-26 23:40:39 +04:00
|
|
|
django==1.3
|
2011-03-18 16:15:12 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-12-15 03:31:57 +04:00
|
|
|
Pyyaml==3.10
|
2011-12-21 04:24:16 +04:00
|
|
|
# Optional packages:
|
2011-12-21 04:22:10 +04:00
|
|
|
markdown
|
|
|
|
|
2011-03-13 20:08:46 +03:00
|
|
|
[testenv:py26-django13]
|
|
|
|
basepython=python2.6
|
|
|
|
deps=
|
2011-04-26 23:40:39 +04:00
|
|
|
django==1.3
|
2011-03-18 16:15:12 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
2011-12-21 04:22:10 +04:00
|
|
|
# Optional packages:
|
|
|
|
markdown
|
|
|
|
|
2011-03-13 20:08:46 +03:00
|
|
|
[testenv:py27-django13]
|
|
|
|
basepython=python2.7
|
|
|
|
deps=
|
2011-04-26 23:40:39 +04:00
|
|
|
django==1.3
|
2011-03-18 16:15:12 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
2011-12-21 04:22:10 +04:00
|
|
|
# Optional packages:
|
|
|
|
markdown
|
2011-12-21 04:24:16 +04:00
|
|
|
|
2011-12-30 16:42:01 +04:00
|
|
|
[testenv:py25-django14a1]
|
|
|
|
basepython=python2.5
|
|
|
|
deps=
|
|
|
|
http://www.djangoproject.com/download/1.4-alpha-1/tarball/
|
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-30 16:42:01 +04:00
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
|
|
|
# Optional packages:
|
|
|
|
markdown
|
|
|
|
|
|
|
|
[testenv:py26-django14a1]
|
|
|
|
basepython=python2.6
|
|
|
|
deps=
|
|
|
|
http://www.djangoproject.com/download/1.4-alpha-1/tarball/
|
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-30 16:42:01 +04:00
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
|
|
|
# Optional packages:
|
|
|
|
markdown
|
|
|
|
|
|
|
|
[testenv:py27-django14a1]
|
|
|
|
basepython=python2.7
|
|
|
|
deps=
|
|
|
|
http://www.djangoproject.com/download/1.4-alpha-1/tarball/
|
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-30 16:42:01 +04:00
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
|
|
|
# Optional packages:
|
|
|
|
markdown
|
|
|
|
|
2011-03-19 05:04:22 +03:00
|
|
|
####################################### EXAMPLES ################################################
|
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py25-django12-examples]
|
2011-03-19 05:04:22 +03:00
|
|
|
basepython=python2.5
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
|
|
|
django==1.2.4
|
2012-01-31 13:05:52 +04:00
|
|
|
django-staticfiles>=1.1.2
|
2011-03-19 05:04:22 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-12-15 03:31:57 +04:00
|
|
|
Pyyaml==3.10
|
2011-06-26 04:58:42 +04:00
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py26-django12-examples]
|
2011-03-19 05:04:22 +03:00
|
|
|
basepython=python2.6
|
2011-03-20 03:34:24 +03:00
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
2011-03-19 05:04:22 +03:00
|
|
|
deps=
|
|
|
|
django==1.2.4
|
2012-01-31 13:05:52 +04:00
|
|
|
django-staticfiles>=1.1.2
|
2011-03-19 05:04:22 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-12-15 03:31:57 +04:00
|
|
|
Pyyaml==3.10
|
2011-06-26 04:58:42 +04:00
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py27-django12-examples]
|
2011-03-19 05:04:22 +03:00
|
|
|
basepython=python2.7
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
|
|
|
django==1.2.4
|
2012-01-31 13:05:52 +04:00
|
|
|
django-staticfiles>=1.1.2
|
2011-03-19 05:04:22 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-12-15 03:31:57 +04:00
|
|
|
Pyyaml==3.10
|
2011-06-26 04:58:42 +04:00
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py25-django13-examples]
|
2011-03-19 05:04:22 +03:00
|
|
|
basepython=python2.5
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
2011-04-26 23:40:39 +04:00
|
|
|
django==1.3
|
2011-03-19 05:04:22 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
2011-04-27 15:47:46 +04:00
|
|
|
unittest-xml-reporting==1.2
|
2011-12-15 03:31:57 +04:00
|
|
|
Pyyaml==3.10
|
2011-06-26 04:58:42 +04:00
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py26-django13-examples]
|
2011-03-19 05:04:22 +03:00
|
|
|
basepython=python2.6
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
2011-04-26 23:40:39 +04:00
|
|
|
django==1.3
|
2011-03-19 05:04:22 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
2011-06-26 04:58:42 +04:00
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py27-django13-examples]
|
2011-03-19 05:04:22 +03:00
|
|
|
basepython=python2.7
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
2011-04-26 23:40:39 +04:00
|
|
|
django==1.3
|
2011-03-19 05:04:22 +03:00
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-15 03:31:57 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py25-django14a1-examples]
|
2011-12-30 16:42:01 +04:00
|
|
|
basepython=python2.5
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
|
|
|
http://www.djangoproject.com/download/1.4-alpha-1/tarball/
|
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-30 16:42:01 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py26-django14a1-examples]
|
2011-12-30 16:42:01 +04:00
|
|
|
basepython=python2.6
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
|
|
|
http://www.djangoproject.com/download/1.4-alpha-1/tarball/
|
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-30 16:42:01 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
|
|
|
|
2012-01-02 22:36:53 +04:00
|
|
|
[testenv:py27-django14a1-examples]
|
2011-12-30 16:42:01 +04:00
|
|
|
basepython=python2.7
|
|
|
|
commands=
|
|
|
|
python examples/runtests.py
|
|
|
|
deps=
|
|
|
|
http://www.djangoproject.com/download/1.4-alpha-1/tarball/
|
|
|
|
coverage==3.4
|
2012-01-05 20:13:41 +04:00
|
|
|
URLObject>=0.6.0
|
2011-12-30 16:42:01 +04:00
|
|
|
wsgiref==0.1.2
|
|
|
|
Pygments==1.4
|
|
|
|
httplib2==0.6.0
|
|
|
|
Markdown==2.0.3
|
|
|
|
unittest-xml-reporting==1.2
|
|
|
|
Pyyaml==3.10
|
|
|
|
|
2011-12-15 03:31:57 +04:00
|
|
|
##########################################DOCS#################################################
|
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
basepython=python
|
|
|
|
changedir=docs
|
|
|
|
deps=
|
|
|
|
sphinx
|
|
|
|
pytest
|
|
|
|
django==1.3
|
|
|
|
commands=
|
|
|
|
py.test --tb=line -v --junitxml=junit-{envname}.xml check_sphinx.py
|