From d2db4e5d91cfb52d7e0edbf8f8e5f7e3d6020177 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Wed, 21 Nov 2018 13:22:09 +0100 Subject: [PATCH 1/2] Publish coverage --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7bc449db..3e61d392 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,13 +63,14 @@ script: - rm -rf 3rdparty/* - pushd . - - mkdir _build_external_deps - - cd _build_external_deps - - cmake .. -DCMAKE_INSTALL_PREFIX=../_opt -DUSE_THIRDPARTY_LIBRARIES=OFF + - mkdir _build_coverage + - cd _build_coverage + - CFLAGS="--coverage" CXXFLAGS="--coverage" LDFLAGS="--coverage" cmake .. -DCMAKE_INSTALL_PREFIX=../_opt -DUSE_THIRDPARTY_LIBRARIES=OFF - make -j 4 - ctest -V - mkdir -p deploy - make DESTDIR=`pwd`/deploy install + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install --user cpp-coveralls && coveralls --root .. --build-root . -E ".*/3rdparty/.*" -E ".*/_.*" -E ".*/tests/.*" -E ".*/benchmarks/.*"; fi - popd # addons: From 371f74e9f1418ab7fe7ee0e6d01be34425f4a382 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Wed, 21 Nov 2018 13:58:36 +0100 Subject: [PATCH 2/2] Disable broken scrape test --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3e61d392..bbfb07da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,7 @@ addons: script: - bazel build //... - bazel test --test_output=all //core/... //pull/... - - bazel test --test_output=all //pull/tests/integration:scrape-test +# - bazel test --test_output=all //pull/tests/integration:scrape-test - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bazel test --test_output=all //pull/tests/integration:lint-test; fi - bazel run -c opt //core/benchmarks