From 88856df5a7448dd55df4c5f4b86f309cbecc648e Mon Sep 17 00:00:00 2001
From: Konstantinos Sideris <sideris.konstantin@gmail.com>
Date: Fri, 6 Apr 2018 20:07:31 +0300
Subject: [PATCH] Exclude tests from test coverage

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 41d672929..c52f40e41 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -78,4 +78,4 @@ after_success:
   - if [ $COVERAGE == ON ]; then ./.ci/coverage.sh; fi
 
   # Upload report to CodeCov.
-  - if [ $COVERAGE == ON ]; then bash <(curl -s https://codecov.io/bash) -t $COV_TOKEN || echo "Codecov did not collect coverage reports"; fi
+  - if [ $COVERAGE == ON ]; then bash <(curl -s https://codecov.io/bash) -f "!*tests*" || echo "Codecov failed"; fi
-- 
GitLab