From 0e69c442fc1e66d24ed45790d242baabf9d6b8a9 Mon Sep 17 00:00:00 2001 From: Mathias Fussenegger Date: Wed, 9 Jul 2014 22:29:23 +0200 Subject: [PATCH] add coveralls --- .travis.yml | 17 ++++++++++------- buildout.cfg | 7 ++++++- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa84ac6f0..3981b0a76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,16 @@ language: python python: - - 2.6 - - 2.7 - - 3.3 - - 3.4 + - 2.6 + - 2.7 + - 3.3 + - 3.4 install: - - python bootstrap.py - - ./bin/buildout + - python bootstrap.py + - ./bin/buildout script: - - ./bin/test + - bin/coverage run bin/test +after_success: + - pip install coveralls + - coveralls notifications: email: false diff --git a/buildout.cfg b/buildout.cfg index e0f30b10a..f84a03afd 100644 --- a/buildout.cfg +++ b/buildout.cfg @@ -8,6 +8,7 @@ parts = test tox scripts sphinx + coverage [scripts] recipe = zc.recipe.egg:script @@ -16,6 +17,10 @@ eggs = crate crate [test,sqlalchemy] wheel +[coverage] +recipe = zc.recipe.egg +eggs = createcoverage + [tox] recipe = zc.recipe.egg:script eggs = tox @@ -37,6 +42,6 @@ eggs = sphinx crate-docs-theme relative-paths=true scripts = sphinx-build=sphinx -initialization = +initialization = sys.argv.extend(['-N', '-q', '-b', 'html', '-E', 'docs', '${buildout:directory}/out/html'])