From 9b080c40bc67c8949e4311df37df55c502871395 Mon Sep 17 00:00:00 2001 From: Ricardo Martins Date: Wed, 17 Aug 2016 20:21:37 +0100 Subject: [PATCH] Don't upload coverage data to coveralls travis-cargo support for coveralls is currently broken. --- .travis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5f7addb4..c3d4c48c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,9 +19,19 @@ before_script: after_success: | travis-cargo --only stable doc && travis-cargo --only stable doc-upload && - travis-cargo coveralls --no-sudo && + wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && + tar xzf master.tar.gz && + cd kcov-master && + mkdir build && + cd build && + cmake .. && + make && + sudo make install && + cd ../.. && + rm -rf kcov-master && + for file in target/debug/{utp,stream}-*; do mkdir -p "target/cov/$(basename $file)"; kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done && bash <(curl -s https://codecov.io/bash) && - echo "Uploaded code coverage" + echo "Uploaded code coverage" env: global: secure: cqq4PpUsrmCNLbWrmkkuf/SaCKET0+QN5w0lXmuOndBES5C+m/aR417T3Pb+7PR4gqibf47eSXgaVCQa64eZAI5PjgXrdZ7FtPRu/mgcsgcgiVrSUz5C/KSMsmp876Gl67csjCZ6SZXJ3YC0/Jh3jiJLiRt9Giqzn/s1v15j/CY=