Source

django-treebeard / tox.ini

#
# tox.ini for django-treebeard
#
# Read docs/tests for help on how to use tox to run the test suite.
#

[tox]
envlist =
    py24-dj13-sqlite,
    py24-dj13-mysql,
    py24-dj13-postgres,
    py25-dj13-sqlite,
    py25-dj13-mysql,
    py25-dj13-postgres,
    py25-dj14-sqlite,
    py25-dj14-mysql,
    py25-dj14-postgres,
    py26-dj13-sqlite,
    py26-dj13-mysql,
    py26-dj13-postgres,
    py26-dj14-sqlite,
    py26-dj14-mysql,
    py26-dj14-postgres,
    py27-dj13-sqlite,
    py27-dj13-mysql,
    py27-dj13-postgres,
    py27-dj14-sqlite,
    py27-dj14-mysql,
    py27-dj14-postgres

[testenv]
commands =
    {envpython} treebeard/tests/jenkins/toxhelper.py \
        -v --tb=long --fulltrace -l --junitxml junit-{envname}.xml \
        {posargs}

[testenv:docs]
basepython=python
changedir = docs
deps =
    Sphinx
    Django
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html

[testenv:py24-dj13-sqlite]
basepython=python2.4
deps =
    Django>=1.3,<1.4
    pysqlite
    coverage
    pytest
setenv =
    DATABASE_ENGINE=sqlite3

[testenv:py24-dj13-mysql]
basepython=python2.4
deps =
    Django>=1.3,<1.4
    MySQL-python
    coverage
    pytest
setenv =
    DATABASE_ENGINE=mysql

[testenv:py24-dj13-postgres]
basepython=python2.4
deps =
    Django>=1.3,<1.4
    psycopg2==2.4.1
    egenix-mx-base
    coverage
    pytest
setenv =
    DATABASE_ENGINE=postgresql_psycopg2

[testenv:py25-dj13-sqlite]
basepython=python2.5
deps =
    Django>=1.3,<1.4
    coverage
    pytest
setenv =
    DATABASE_ENGINE=sqlite3

[testenv:py25-dj13-mysql]
basepython=python2.5
deps =
    Django>=1.3,<1.4
    MySQL-python
    coverage
    pytest
setenv =
    DATABASE_ENGINE=mysql

[testenv:py25-dj13-postgres]
basepython=python2.5
deps =
    Django>=1.3,<1.4
    psycopg2==2.4.1
    egenix-mx-base
    coverage
    pytest
setenv =
    DATABASE_ENGINE=postgresql_psycopg2

[testenv:py25-dj14-sqlite]
basepython=python2.5
deps =
    Django>=1.4,<1.5
    coverage
    pytest
setenv =
    DATABASE_ENGINE=sqlite3

[testenv:py25-dj14-mysql]
basepython=python2.5
deps =
    Django>=1.4,<1.5
    MySQL-python
    coverage
    pytest
setenv =
    DATABASE_ENGINE=mysql

[testenv:py25-dj14-postgres]
basepython=python2.5
deps =
    Django>=1.4,<1.5
    psycopg2>2.4.1
    coverage
    pytest
setenv =
    DATABASE_ENGINE=postgresql_psycopg2

[testenv:py26-dj13-sqlite]
basepython=python2.6
deps =
    Django>=1.3,<1.4
    coverage
    pytest
setenv =
    DATABASE_ENGINE=sqlite3

[testenv:py26-dj13-mysql]
basepython=python2.6
deps =
    Django>=1.3,<1.4
    MySQL-python
    coverage
    pytest
setenv =
    DATABASE_ENGINE=mysql

[testenv:py26-dj13-postgres]
basepython=python2.6
deps =
    Django>=1.3,<1.4
    psycopg2==2.4.1
    egenix-mx-base
    coverage
    pytest
setenv =
    DATABASE_ENGINE=postgresql_psycopg2

[testenv:py26-dj14-sqlite]
basepython=python2.6
deps =
    Django>=1.4,<1.5
    coverage
    pytest
setenv =
    DATABASE_ENGINE=sqlite3

[testenv:py26-dj14-mysql]
basepython=python2.6
deps =
    Django>=1.4,<1.5
    MySQL-python
    coverage
    pytest
setenv =
    DATABASE_ENGINE=mysql

[testenv:py26-dj14-postgres]
basepython=python2.6
deps =
    Django>=1.4,<1.5
    psycopg2>2.4.1
    coverage
    pytest
setenv =
    DATABASE_ENGINE=postgresql_psycopg2

[testenv:py27-dj13-sqlite]
basepython=python2.7
deps =
    Django>=1.3,<1.4
    coverage
    pytest
setenv =
    DATABASE_ENGINE=sqlite3

[testenv:py27-dj13-mysql]
basepython=python2.7
deps =
    Django>=1.3,<1.4
    MySQL-python
    coverage
    pytest
setenv =
    DATABASE_ENGINE=mysql

[testenv:py27-dj13-postgres]
basepython=python2.7
deps =
    Django>=1.3,<1.4
    psycopg2==2.4.1
    egenix-mx-base
    coverage
    pytest
setenv =
    DATABASE_ENGINE=postgresql_psycopg2

[testenv:py27-dj14-sqlite]
basepython=python2.7
deps =
    Django>=1.4,<1.5
    coverage
    pytest
setenv =
    DATABASE_ENGINE=sqlite3

[testenv:py27-dj14-mysql]
basepython=python2.7
deps =
    Django>=1.4,<1.5
    MySQL-python
    coverage
    pytest
setenv =
    DATABASE_ENGINE=mysql

[testenv:py27-dj14-postgres]
basepython=python2.7
deps =
    Django>=1.4,<1.5
    psycopg2>2.4.1
    coverage
    pytest
setenv =
    DATABASE_ENGINE=postgresql_psycopg2
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.