mirror of
https://github.com/znc/znc.git
synced 2026-07-05 01:11:53 +02:00
Switch coverage to CodeCov
This commit is contained in:
-13
@@ -82,12 +82,6 @@ install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$BUILD_TYPE" == "tsan" ]]; then sudo apt-get install -y clang-3.8; export CC=clang-3.8 CXX=clang++-3.8; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source /opt/qt55/bin/qt55-env.sh; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$BUILD_WITH" == "cmake" ]]; then sudo apt-get install -y cmake; fi
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$BUILD_TYPE" == "coverage" ]]; then
|
||||
sudo apt-get install -y lcov
|
||||
gem install coveralls-lcov
|
||||
lcov --directory . --zerocounters
|
||||
fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sw_vers; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sysctl -a | grep cpu; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sysctl -a | grep mem; fi
|
||||
@@ -121,13 +115,6 @@ after_success:
|
||||
- |
|
||||
if [[ "$BUILD_TYPE" == "coverage" ]]; then
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
cd build/
|
||||
ls -l /usr/bin|grep gcov
|
||||
lcov --directory . --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-4.8 || exit 1
|
||||
lcov --remove coverage.info '/usr/*' 'test/*' --output-file coverage.info || exit 1
|
||||
lcov --list coverage.info || exit 1
|
||||
coveralls-lcov coverage.info || exit 1
|
||||
cd ..
|
||||
else
|
||||
echo "No coverage for this build"
|
||||
fi
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
[](https://jenkins.znc.in/job/znc/job/znc/job/master/)
|
||||
[](https://ci.appveyor.com/project/DarthGandalf/znc/branch/master)
|
||||
[](https://www.bountysource.com/trackers/1759-znc?utm_source=1759&utm_medium=shield&utm_campaign=TRACKER_BADGE)
|
||||
[](https://coveralls.io/github/znc/znc?branch=master)
|
||||
[](https://codecov.io/gh/znc/znc)
|
||||
[](https://scan.coverity.com/projects/znc-coverity)
|
||||
|
||||
## Table of contents
|
||||
|
||||
Reference in New Issue
Block a user