forked from LoboLofi/pyfpdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (30 loc) · 795 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
32
33
34
# Tox (https://tox.readthedocs.io/) 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.
#
# To run different environments, try `tox -e py27` or `tox -e docs`
#
[tox]
envlist = py27, py34, py35, py36, py37
[testenv]
deps =
six
numpy
Pillow
commands =
{envpython} setup.py test
[testenv:pep8]
deps = flake8
commands = flake8 --exclude=fpdf/fonts.py
[testenv:docs]
deps =
pdoc
epydoc
Markdown<3,>=2.6.0
mkdocs
mkdocs-material
commands =
mkdocs build
pdoc --html --html-dir "docs/pdocs" --overwrite --all-submodules fpdf
epydoc --html --introspect-only --name "pyfpdf: FPDF for Python" -vv -o "docs/epydocs" fpdf