ihatemoney/tox.ini
Alexis Metaireau 74e9af59e6 Fix Travis-CI integration (#276)
Use tox-travis to solve the current issues with Travis-CI
2017-10-23 22:58:04 +02:00

35 lines
619 B
INI

[tox]
envlist = py36,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
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36, docs, lint