diff options
| author | JocelynDelalande <JocelynDelalande@users.noreply.github.com> | 2018-01-07 23:01:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-07 23:01:34 +0100 |
| commit | 34a21616506402c764d481cc7a28e2b9818518f9 (patch) | |
| tree | b7b3079157c9c12976c0df7f329a341e843629b2 /tox.ini | |
| parent | 4ab8863eb20ea75fc0b3990471a01f4874735f3c (diff) | |
| parent | c24ee6f1c4e1c1090f0833f65b795512fc03de30 (diff) | |
| download | ihatemoney-mirror-34a21616506402c764d481cc7a28e2b9818518f9.zip ihatemoney-mirror-34a21616506402c764d481cc7a28e2b9818518f9.tar.gz ihatemoney-mirror-34a21616506402c764d481cc7a28e2b9818518f9.tar.bz2 | |
Merge pull request #308 from spiral-project/almet/fix-template-inclusion-packaging
Include all .j2 files in the packaged version.
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |
