summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 3da07df4c412fb5d60a4cd168af57bcf376b00f0 (plain)
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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27, py35, pypy

[testenv]
commands = py.test --pep8

deps =
    pytest
    pytest-pep8
    pytest-flake8
    pytest-sugar
    six
    gnupg
    zope.interface

[testenv:doc]
changedir=docs/source
deps=sphinx
commands = sphinx-build -W -b html \
             -d {envtmpdir}/doctrees . \
	     {envtmpdir}/html