forked from bayespy/bayespy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (27 loc) · 867 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## configuration for tox <http://codespeak.net/tox/>
## tox automates running certain tasks within virtualenvs. The following
## tox configuration outlines a basic setup for running unit tests and
## building sphinx docs in separate virtual environments. Give it a try!
[tox]
envlist=python3,doc
# test running
[testenv:python]
deps=
## if you use nose for test running
# nose
## if you use py.test for test running
# pytest
commands=
## run tests with py.test
# py.test []
## run tests with nose
nose
[testenv:doc]
deps=
sphinx
# add all Sphinx extensions and other dependencies required to build your docs
commands=
## test links
# sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
## test html output
# sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html