From b71329b8c8f5d89259e7ccc465d85290f82cae7e Mon Sep 17 00:00:00 2001 From: Kevin K Date: Tue, 1 Nov 2016 21:47:14 -0400 Subject: [PATCH] chore: coveralls upload fix --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d5e85a03..e45ffc8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,9 +41,8 @@ after_success: rm -rf kcov-master && cargo clean && cargo test --no-run --features "yaml unstable" && - for file in target/debug/*-*; do mkdir -p "target/cov/$(basename $file)"; kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && - for file in target/debug/deps/clap-*; do mkdir -p "target/cov/$(basename $file)"; kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "deps/$file"; done && - bash <(curl -s https://codecov.io/bash) && + for file in target/debug/*-*; do mkdir -p "target/cov/$(basename $file)"; kcov --exclude-pattern=/.cargo --verify "target/cov/$(basename $file)" "$file"; done && + kcov --coveralls-id=$TRAVIS_JOB_ID --merge target/cov target/cov/* && echo "Uploaded code coverage" env: global: