From a34f35d0babe952a0f5189a47c9b02612d3d6374 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sat, 19 Dec 2015 20:27:57 -0500 Subject: [PATCH 1/2] post test coverage results sooner --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2fe06003b..b7cbeb94a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,12 +53,6 @@ before_install: fi - 'echo "using toolset: " ${toolset}' -after_success: - - if [[ $TRAVIS_OS_NAME == "linux" && $coverage == "1" ]]; then - cd test; - codecov --root .. --gcov-exec gcov-4.8; - fi - install: - g++-4.8 --version - 'echo "using gcc : cpp11 : ccache g++-4.8 : -std=c11 -std=c++11 ;" > ~/user-config.jam' @@ -76,6 +70,10 @@ install: script: - cd test - bjam --hash -j3 warnings-as-errors=on variant=$variant -l900 $coverage_toolset $target +# if we're building with code coverage, report it as soon as possible + - if [[ $TRAVIS_OS_NAME == "linux" && $coverage == "1" ]]; then + codecov --root .. --gcov-exec gcov-4.8; + fi - cd ../examples - bjam --hash -j3 warnings-as-errors=on variant=$variant $toolset link=shared From 2306d5609b6b9371ed2786e284f3f0d763991998 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sat, 19 Dec 2015 23:06:00 -0500 Subject: [PATCH 2/2] make codecov link use list view --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 5181783e3..90bad7ea5 100644 --- a/README.rst +++ b/README.rst @@ -8,7 +8,7 @@ libtorrent :target: https://ci.appveyor.com/project/arvidn/libtorrent/branch/master .. image:: https://codecov.io/github/arvidn/libtorrent/coverage.svg?branch=master - :target: https://codecov.io/github/arvidn/libtorrent?branch=master + :target: https://codecov.io/github/arvidn/libtorrent?branch=master&view=all#sort=missing&dir=desc .. image:: https://www.openhub.net/p/rasterbar-libtorrent/widgets/project_thin_badge.gif :target: https://www.openhub.net/p/rasterbar-libtorrent?ref=sample