add tox.ini

This commit is contained in:
Benjamin Dauvergne 2016-02-22 18:45:55 +01:00
parent 28216ddd4a
commit ab75d8a89c
1 changed files with 18 additions and 0 deletions

18
tox.ini Normal file
View File

@ -0,0 +1,18 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = package
whitelist_externals = /bin/mv
/bin/sh
/bin/rm
[testenv:package]
deps =
setuptools
commands =
/bin/rm -rf dist
./setup.py sdist
/bin/sh -c "/bin/mv dist/*.tar.gz /var/www/packages/"