aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
blob: 63af830c51cb122b70f07c2ac4ff77d6146e1df5 (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
27
28
[tox]
envlist = py35,py34,py27,docs,lint
skip_missing_interpreters = True

[testenv]

commands =
    python --version
    py.test ihatemoney/tests/tests.py
deps =
    -rdev-requirements.txt
    -rrequirements.txt

install_command = pip install --pre {opts} {packages}

[testenv:docs]
commands = sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
deps =
    -rdocs/requirements.txt

[testenv:lint]
commands = flake8 ihatemoney
deps =
    -rdev-requirements.txt

[flake8]
exclude = migrations
max_line_length = 100