From 679380f6dda7c98992a6c470a628ea251936dfac Mon Sep 17 00:00:00 2001 From: PhiBo Date: Fri, 14 Apr 2017 21:18:34 +0200 Subject: [PATCH 1/3] ci - Add coverage to travis builds --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 739d050..a8a4ffa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,16 @@ python: - "3.4" - "3.5" +before_install: + - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; fi + - pip install coveralls + install: - BUILD_LIB=1 pip install . + - pip install pytest-cov + +script: + py.test --cov overpy --cov-report=term-missing -v tests/ -script: py.test +after_script: + coveralls --verbose From 7a77707a685c0a2bbe4adb2e4834472e257a9912 Mon Sep 17 00:00:00 2001 From: PhiBo Date: Fri, 14 Apr 2017 21:24:28 +0200 Subject: [PATCH 2/3] ci - Fix copy and paste issue --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a8a4ffa..2a43d03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ install: - pip install pytest-cov script: - py.test --cov overpy --cov-report=term-missing -v tests/ + py.test --cov ssdeep --cov-report=term-missing -v tests/ after_script: coveralls --verbose From 79537cd5b00f4da7ad1824a4fe0bffa52ab4e80a Mon Sep 17 00:00:00 2001 From: PhiBo Date: Fri, 14 Apr 2017 22:07:16 +0200 Subject: [PATCH 3/3] ci - tests is now a module --- tests/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29