summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--newton/tox.ini6
-rw-r--r--ocata/tox.ini5
-rw-r--r--windriver/tox.ini6
4 files changed, 10 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 7d298bc4..8d4d3b41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ logs/*.log
htmlcov/
.idea/
mydatabase
+.DS_Store
diff --git a/newton/tox.ini b/newton/tox.ini
index ee15e4b0..71a8ff75 100644
--- a/newton/tox.ini
+++ b/newton/tox.ini
@@ -7,6 +7,6 @@ downloadcache = ~/cache/pip
[testenv]
deps = -r{toxinidir}/requirements.txt
-commands = coverage run --branch manage.py test newton
- coverage html --omit=".tox*,*test*,*__init__.py" -d htmlcov
-
+commands =
+ coverage run --branch manage.py test
+ coverage report --omit=".tox/*,*tests*,*__init__.py" --fail-under=30
diff --git a/ocata/tox.ini b/ocata/tox.ini
index 05ef3c70..dcd7033e 100644
--- a/ocata/tox.ini
+++ b/ocata/tox.ini
@@ -9,6 +9,7 @@ downloadcache = ~/cache/pip
setenv =
PYTHONPATH = {toxinidir}/../newton
deps = -r{toxinidir}/requirements.txt
-commands = coverage run --branch manage.py test ocata
- coverage html --omit=".tox*,*test*,*__init__.py" -d htmlcov
+commands =
+ coverage run --branch manage.py test
+ coverage report --omit=".tox/*,*tests*,*__init__.py,*newton*" --fail-under=30
diff --git a/windriver/tox.ini b/windriver/tox.ini
index 764cf01c..90357d66 100644
--- a/windriver/tox.ini
+++ b/windriver/tox.ini
@@ -9,6 +9,6 @@ downloadcache = ~/cache/pip
setenv =
PYTHONPATH = {toxinidir}/../newton
deps = -r{toxinidir}/requirements.txt
-commands = coverage run --branch manage.py test titanium_cloud
- coverage html --omit=".tox*,*test*,*__init__.py" -d htmlcov
-
+commands =
+ coverage run --branch manage.py test titanium_cloud
+ coverage report --omit=".tox/*,*tests*,*__init__.py,*newton*" --fail-under=30