Merge pull request #341 from arvidn/codecov-patch
post test coverage results sooner
This commit is contained in:
commit
21b004b1e7
10
.travis.yml
10
.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 : <cflags>-std=c11 <cxxflags>-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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue