Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
make sure coverage does not decrease
Browse files Browse the repository at this point in the history
  • Loading branch information
zupo committed Feb 20, 2014
1 parent f551264 commit 463c60b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
.Python
.coverage
.installed.cfg
.mr.developer.cfg
bin
develop-eggs
docs/html
htmlcov/
include
lib
parts
var
src/niteoweb.ipn.core/
src/plone.api/
var
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ install:
- make .installed.cfg

script:
- make tests
- make coverage

notifications:
irc:
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ options =

all: docs tests

coverage: htmlcov/index.html

htmlcov/index.html: src/niteoweb/ipn/jvzoo/*.py bin/coverage
@bin/coverage run --source=./src/niteoweb/ipn/jvzoo --branch bin/test
@bin/coverage html -i --fail-under 98
@touch $@
@echo "Coverage report was generated at '$@'."

.installed.cfg: bin/buildout buildout.cfg buildout.d/*.cfg setup.py
bin/buildout $(options)

Expand Down
9 changes: 5 additions & 4 deletions buildout.d/versions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
extends = http://dist.plone.org/release/4.2.2/versions.cfg

[versions]
Products.Clouseau = 1.0
Products.DocFinderTab = 1.0.5
Products.PDBDebugMode = 1.3.1
Products.PrintingMailHost = 0.7
bobtemplates.niteoweb = 0.1.1
buildout-versions = 1.7
coverage = 3.7.1
flake8 = 2.0
jarn.mkrelease = 3.7
mock = 1.0.1
niteoweb.ipn.core = 1.3
niteoweb.loginas = 0.2
plone.app.debugtoolbar = 1.0a2
Products.Clouseau = 1.0
Products.DocFinderTab = 1.0.5
Products.PDBDebugMode = 1.3.1
Products.PrintingMailHost = 0.7
z3c.recipe.scripts = 1.0.1
zc.buildout = 1.6.3
zc.recipe.egg = 1.3.2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def read(*rnames):
'unittest2',
],
'develop': [
'coverage',
'flake8',
'jarn.mkrelease',
'niteoweb.loginas',
Expand Down

0 comments on commit 463c60b

Please sign in to comment.