Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from niteoweb/coverage

Coverage
  • Loading branch information...
commit 822e4d23bd963578fcea2f7b67e5b096ec74bb75 2 parents f551264 + 5d1a0e0
@matejc matejc authored
View
4 .gitignore
@@ -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
View
7 .travis.yml
@@ -6,8 +6,11 @@ install:
- make .installed.cfg
script:
- - make tests
+ - make coverage
notifications:
irc:
- - "irc.freenode.org#niteoweb"
+ channels:
+ - "irc.freenode.org#niteoweb"
+ template:
+ - "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
View
8 Makefile
@@ -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)
View
9 buildout.d/versions.cfg
@@ -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
View
1  setup.py
@@ -49,6 +49,7 @@ def read(*rnames):
'unittest2',
],
'develop': [
+ 'coverage',
'flake8',
'jarn.mkrelease',
'niteoweb.loginas',
Please sign in to comment.
Something went wrong with that request. Please try again.