virtualenvwrapper / tox.ini

[tox]
envlist = py27,py26,py32,py33,zsh,ksh,style

[testenv]
commands = bash ./tests/run_tests {envdir} []
deps = distribute
       virtualenv
       virtualenv-clone
       stevedore
setenv =
    TOXIC = true

[testenv:style]
deps = flake8
commands = flake8 virtualenvwrapper docs/source/conf.py

[testenv:py27]
setenv =
  SHELL = /bin/bash
commands =  bash ./tests/run_tests {envdir} []

# Not sure why the basepython setting is needed, but on my system if
# it isn't included then the python version picked up for 2.6 is
# actually 2.7.
#
# IF THIS CAUSES YOU A PROBLEM COMMENT IT OUT BEFORE RUNNING THE TESTS.
#
[testenv:py26]
basepython=python2.6
setenv =
  SHELL = /bin/bash
commands =  bash ./tests/run_tests {envdir} []

[testenv:py32]
setenv =
  SHELL = /bin/bash
commands =  bash ./tests/run_tests {envdir} []

[testenv:py33]
setenv =
  SHELL = /bin/bash
commands =  bash ./tests/run_tests {envdir} []

[testenv:zsh]
basepython=python2.7
setenv =
  SHELL = /bin/zsh
commands =  zsh -o shwordsplit ./tests/run_tests {envdir} []

[testenv:ksh]
basepython=python2.7
setenv =
  SHELL = /bin/ksh
commands =  ksh ./tests/run_tests {envdir} []
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.