From 975f041523c587cdc4dd70556e6f7399ae2a8c86 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 2 Dec 2018 23:45:10 -0500 Subject: [PATCH] Don't include tests in codecov --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b34dbec..640ff32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,7 @@ after_success: | rm -rf kcov-master && \ for file in target/debug/*-*[^\.d]; do \ mkdir -p "target/cov/$(basename $file)"; \ - ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; \ + ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib,tests/ --verify "target/cov/$(basename $file)" "$file"; \ done && \ bash <(curl -s https://codecov.io/bash) && \ echo "Uploaded code coverage"