Skip to content

Commit

Permalink
Add support for tox
Browse files Browse the repository at this point in the history
Run 'tox' to test against python 2.6, 2.7, and 3.3
  • Loading branch information
ziadsawalha committed Mar 22, 2014
1 parent 1e79e33 commit 6bf9904
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,18 @@ 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

### Testing a specific domain

./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`).
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[tox]
envlist = py26,py27,py33

[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
commands = python test.py run all

0 comments on commit 6bf9904

Please sign in to comment.