Add support for tox

Run 'tox' to test against python 2.6, 2.7, and 3.3
master
Ziad Sawalha 11 years ago
parent 1e79e33126
commit 6bf9904e15

@ -69,7 +69,7 @@ Make sure to verify (using `pwhois` or otherwise) that the WHOIS data for the do
./test.py update thedomain.com
### Running the full test suite
### Running all tests
./test.py run all
@ -77,6 +77,10 @@ Make sure to verify (using `pwhois` or otherwise) that the WHOIS data for the do
./test.py run thedomain.com
### Running the full test suite including support for multiple python versions
tox
### Generating documentation
You need [ZippyDoc](http://cryto.net/zippydoc) (which can be installed through `pip install zippydoc`).

@ -0,0 +1,7 @@
[tox]
envlist = py26,py27,py33
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
commands = python test.py run all
Loading…
Cancel
Save