Last change
on this file since 966 was
908,
checked in by jemian, 11 years ago
|
initial checkin starting over from scratch
|
File size:
868 bytes
|
Line | |
---|
1 | ## configuration for tox <http://codespeak.net/tox/> |
---|
2 | |
---|
3 | ## tox automates running certain tasks within virtualenvs. The following |
---|
4 | ## tox configuration outlines a basic setup for running unit tests and |
---|
5 | ## building sphinx docs in separate virtual environments. Give it a try! |
---|
6 | |
---|
7 | [tox] |
---|
8 | envlist=python,doc |
---|
9 | |
---|
10 | # test running |
---|
11 | [testenv:python] |
---|
12 | deps= |
---|
13 | ## if you use nose for test running |
---|
14 | # nose |
---|
15 | ## if you use py.test for test running |
---|
16 | # pytest |
---|
17 | commands= |
---|
18 | ## run tests with py.test |
---|
19 | # py.test [] |
---|
20 | ## run tests with nose |
---|
21 | # nose |
---|
22 | |
---|
23 | [testenv:doc] |
---|
24 | deps= |
---|
25 | sphinx |
---|
26 | # add all Sphinx extensions and other dependencies required to build your docs |
---|
27 | commands= |
---|
28 | ## test links |
---|
29 | # sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck |
---|
30 | ## test html output |
---|
31 | # sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.