Add code verification tools
[iec.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index f2f331f..1e35c7a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -8,9 +8,12 @@
 [tox]
 minversion = 1.6
 envlist =
-    docs,
-    docs-linkcheck
+  docs,
+  docs-linkcheck,
+  coala,
 skipsdist = true
+passenv = TOX_WORK_DIR
+toxworkdir = {env:TOX_WORK_DIR:/tmp/v}
 
 [testenv:docs]
 deps = -rdocs/requirements.txt
@@ -22,3 +25,13 @@ whitelist_externals = echo
 [testenv:docs-linkcheck]
 deps = -rdocs/requirements.txt
 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+
+[testenv:coala]
+basepython = python3
+whitelist_externals = rm
+deps =
+    coala
+    coala-bears
+commands =
+   rm -rf src/use_cases/seba_on_arm/src_repo/
+   coala --non-interactive