Changing delete command
[logging-analytics.git] / pylog / tox.ini
index a47f58c..14ebfd0 100644 (file)
@@ -1,5 +1,5 @@
 [tox]
-envlist =py,py27,pep8
+envlist =py,py3,pep8
 skipsdist = true
 skip_missing_interpreters = true
 
@@ -14,7 +14,7 @@ deps = -r{toxinidir}/requirements.txt
 setenv = PYTHONPATH={toxinidir}/
 
 commands =
-  /usr/bin/find . -type f -name "*.py[c|o]" -delete
+  /usr/bin/find . -type f -name "*.py[c|o]" -not -path "./.tox" -delete
   py.test
 
 [testenv:pep8]
@@ -25,10 +25,5 @@ commands=flake8
 show-source = true
 exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build
 
-
-[testenv:py27]
-commands =
-  {[testenv]commands}
-
 [testenv:cover]
 commands = py.test --cov  onaplogging