diff options
author | Adam Spiers <git@adamspiers.org> | 2016-06-11 22:20:04 +0100 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2018-05-15 13:42:16 +0100 |
commit | 2c9d23b0291157eb1096384ff76e0122747b9bdf (patch) | |
tree | 524c7b479b65a478c998c28475d52e636b919200 /tox.ini | |
parent | 9a741f07167dcb6cc81a8f87036d1ea75c4270d3 (diff) | |
download | git-deps-2c9d23b0291157eb1096384ff76e0122747b9bdf.tar.gz |
convert into a proper Python module
Sem-Ver: api-break
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +# Tox configuration file +# Read more under https://tox.readthedocs.org/ +# THIS SCRIPT IS SUPPOSED TO BE AN EXAMPLE. MODIFY IT ACCORDING TO YOUR NEEDS! + +[tox] +minversion = 1.8 +envlist = py27,py33,py34,flake8 +skip_missing_interpreters = True + +[testenv] +changedir = tests +commands = + py.test {posargs} +deps = + pytest + -r{toxinidir}/requirements.txt + +[testenv:flake8] +changedir = {toxinidir} +deps = flake8 +commands = flake8 setup.py git_deps tests + +# Options for pytest +[pytest] +addopts = -rsxXf |