From 2df3525ffe737b5a6970b5ad48dc6ee455e5b0f6 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 5 Feb 2015 10:46:27 +0100 Subject: [PATCH] Add code coverage --- .travis.yml | 4 +++- dev-requirements.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1649f84b..dadbe57c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: - pip install -rdev-requirements.txt script: - - py.test -v -s tests + - py.test -v -s tests --cov gns3server --cov-report term-missing #branches: # only: @@ -28,3 +28,5 @@ notifications: # on_success: change # on_failure: always +after_success: + - coveralls diff --git a/dev-requirements.txt b/dev-requirements.txt index 791cf88b..af76ab92 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -5,3 +5,5 @@ pytest==2.6.4 pep8==1.5.7 pytest-timeout pytest-capturelog +pytest-cov +python-coveralls