From d56adf2e2c7ef5d2a17ecd47748b35d27291f51c Mon Sep 17 00:00:00 2001 From: Kilari Teja Date: Fri, 8 Jun 2018 16:35:35 +0530 Subject: [PATCH] *: Update test configuration - Increase coverage requirement to 100%. - Update omissions in coverage. - Updates travis to use py.test. --- .codecov.yml | 2 +- .coveragerc | 2 +- .travis.yml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 9d955c5..889797c 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -6,4 +6,4 @@ coverage: project: default: enabled: true - target: 95% + target: 100% diff --git a/.coveragerc b/.coveragerc index 9e73f79..444e6f2 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,7 +2,7 @@ branch = True source = . omit = - coala-langserver.py + coalals/__main__.py tests/* [report] diff --git a/.travis.yml b/.travis.yml index d1d58e3..87eaba0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,8 +44,7 @@ script: # https://github.com/coala/coala-bears/issues/1037 - sed -i.bak '/bears = GitCommitBear/d' .coafile # Server side tests. - - coverage run $(which behave) ./tests/server.features - - coverage run -a -m unittest discover -s tests + - py.test --cov-report term --cov=coalals notifications: email: false