File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -568,6 +568,11 @@ before_install:
568568 wget -O - $AUTOMAKE_XZ_URL | tar xf - --xz --directory ~;
569569 (cd ~/automake-$AUTOMAKE_VER && ./configure --prefix=$GNUTOOLS_ROOT && make -j && make install);
570570 fi
571+ - if [[ "$REPORT_COVERAGE" == true ]]; then
572+ mkdir -p ../coveralls;
573+ wget -O - https://coveralls.io/coveralls-linux.tar.gz | tar xf - --gz --directory ../coveralls;
574+ export PATH=`pwd`/../coveralls:$PATH;
575+ fi
571576- if [[ "$MAKEFILE_TARGET" == "dist"* ]]; then
572577 autoconf --version;
573578 automake --version;
@@ -583,7 +588,6 @@ install:
583588- if [[ "$CMAKE_OPTIONS" == "" ]]; then
584589 ./autogen.sh;
585590 fi
586- - if [[ "$REPORT_COVERAGE" == true ]]; then gem install coveralls-lcov; fi
587591
588592script :
589593- if [[ "$CMAKE_OPTIONS" == "" && "$COVERITY_SCAN_BRANCH" != 1 ]]; then
@@ -628,7 +632,7 @@ after_success:
628632 lcov --capture --directory src --directory tests --output-file coverage.info &&
629633 lcov --remove coverage.info 'tests/*' --output-file coverage.info &&
630634 lcov --list coverage.info &&
631- coveralls-lcov --repo-token= ${COVERALLS_REPO_TOKEN} coverage.info ;
635+ coveralls report coverage.info -r ${COVERALLS_REPO_TOKEN};
632636 fi
633637
634638deploy :
You can’t perform that action at this time.
0 commit comments