aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAlexis Métaireau <alexis@notmyidea.org>2018-01-07 21:44:33 +0100
committerAlexis Métaireau <alexis@notmyidea.org>2018-01-07 21:44:33 +0100
commit59ff2dd6b237d13f49808ff42b61ca1812e9b911 (patch)
tree4818c9cbe07d274f01b4d7e0389e11f169ace32f /tox.ini
parentf1e2a2d84ceb13951c2547c6548eb823b60ce77e (diff)
parent2019b398f164aa3f7edb8af439c92f1a32d2e920 (diff)
downloadihatemoney-mirror-59ff2dd6b237d13f49808ff42b61ca1812e9b911.zip
ihatemoney-mirror-59ff2dd6b237d13f49808ff42b61ca1812e9b911.tar.gz
ihatemoney-mirror-59ff2dd6b237d13f49808ff42b61ca1812e9b911.tar.bz2
Merge branch 'almet/fix-template-inclusion-packaging' of github.com:spiral-project/ihatemoney into almet/fix-template-inclusion-packaging
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 11 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index ddef0a1..15c2b40 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,22 +6,31 @@ skip_missing_interpreters = True
commands =
python --version
- py.test ihatemoney/tests/tests.py
+ py.test --pyargs ihatemoney.tests.tests
+
deps =
-rdev-requirements.txt
-rrequirements.txt
-install_command = pip install --pre {opts} {packages}
+# To be sure we are importing ihatemoney pkg from pip-installed version
+changedir = /tmp
+
+install_command =
+ pip install --pre {opts} {packages}
+ pip install .
+
[testenv:docs]
commands = sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
deps =
-rdocs/requirements.txt
+changedir = {toxinidir}
[testenv:lint]
commands = flake8 ihatemoney
deps =
-rdev-requirements.txt
+changedir = {toxinidir}
[flake8]
exclude = migrations