From 75a7e487412cda433f26e6c468ed71107dddca23 Mon Sep 17 00:00:00 2001 From: MrLeeh Date: Tue, 20 Sep 2016 13:52:17 +0200 Subject: [PATCH] ignore cache files, don't ignore tox.ini --- .gitignore | 2 +- tox.ini | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index 2b1c7a04..7ce6dec5 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ build/ venv/ *.tox -tox.ini deploy.py *.sublime-workspace @@ -23,3 +22,4 @@ README.rst #Source for local copy of Linux ADS lib *so +.cache/ diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..cc8c6ec6 --- /dev/null +++ b/tox.ini @@ -0,0 +1,15 @@ +# 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 = py27, py35 + +[testenv] +whitelist_externals=* +commands = py.test +deps = pytest + +[pytest] +testpaths = tests \ No newline at end of file