Skip to content
Snippets Groups Projects
Unverified Commit 15b2a329 authored by René Fritze's avatar René Fritze
Browse files

[travis] silence lcov

parent b50a7d9b
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ before_install: ...@@ -42,7 +42,7 @@ before_install:
- test -d ${SUPERDIR}/ || git clone https://github.com/dune-community/dune-xt-super.git ${SUPERDIR}/ - test -d ${SUPERDIR}/ || git clone https://github.com/dune-community/dune-xt-super.git ${SUPERDIR}/
- cd ${SUPERDIR}/ - cd ${SUPERDIR}/
- git submodule update --init --recursive - git submodule update --init --recursive
- git submodule status ; git status - git submodule status ; git status
- ${SUPERDIR}/.travis/trusty_apt_setup.bash - ${SUPERDIR}/.travis/trusty_apt_setup.bash
- export PATH=/usr/lib/ccache:$PATH - export PATH=/usr/lib/ccache:$PATH
- export DCTRL_ARG="--builddir=${DUNE_BUILD_DIR} --opts=${OPTS}" - export DCTRL_ARG="--builddir=${DUNE_BUILD_DIR} --opts=${OPTS}"
...@@ -67,12 +67,12 @@ before_script: ...@@ -67,12 +67,12 @@ before_script:
- ${SRC_DCTRL} ${DCTRL_ARG} --only=${MY_MODULE} bexec ${BUILD_CMD} test_binaries - ${SRC_DCTRL} ${DCTRL_ARG} --only=${MY_MODULE} bexec ${BUILD_CMD} test_binaries
- | - |
if [[ "${CC}" == "gcc"* ]] ; then if [[ "${CC}" == "gcc"* ]] ; then
lcov --gcov-tool ${GCOV} -b ${SUPERDIR}/${MY_MODULE} -d ${DUNE_BUILD_DIR}/${MY_MODULE} -c -o ${HOME}/baseline.lcov --no-external --initial lcov -q --gcov-tool ${GCOV} -b ${SUPERDIR}/${MY_MODULE} -d ${DUNE_BUILD_DIR}/${MY_MODULE} -c -o ${HOME}/baseline.lcov --no-external --initial
fi fi
script: script:
- ${SRC_DCTRL} ${DCTRL_ARG} --only=${MY_MODULE} bexec ${BUILD_CMD} test - ${SRC_DCTRL} ${DCTRL_ARG} --only=${MY_MODULE} bexec ${BUILD_CMD} test
- ${SUPERDIR}/.travis/init_sshkey.bash ${encrypted_862ca47045d1_key} ${encrypted_862ca47045d1_iv} keys/dune-community/dune-xt-common-testlogs - ${SUPERDIR}/.travis/init_sshkey.bash ${encrypted_862ca47045d1_key} ${encrypted_862ca47045d1_iv} keys/dune-community/dune-xt-common-testlogs
# retry this step becuase of the implicated race condition in cloning and pushing with multiple builder running in parallel # retry this step becuase of the implicated race condition in cloning and pushing with multiple builder running in parallel
- travis_retry ${SUPERDIR}/scripts/bash/travis_upload_test_logs.bash ${DUNE_BUILD_DIR}/${MY_MODULE}/dune/xt/*/test/ - travis_retry ${SUPERDIR}/scripts/bash/travis_upload_test_logs.bash ${DUNE_BUILD_DIR}/${MY_MODULE}/dune/xt/*/test/
...@@ -116,9 +116,9 @@ cache: ...@@ -116,9 +116,9 @@ cache:
env: env:
global: global:
- MY_MODULE=dune-xt-common - MY_MODULE=dune-xt-common
- DUNE_BUILD_DIR=${HOME}/dune_build/ - DUNE_BUILD_DIR=${HOME}/dune_build/
- INSTALL_DIR=$HOME/dune - INSTALL_DIR=$HOME/dune
- CTEST_OUTPUT_ON_FAILURE=1 - CTEST_OUTPUT_ON_FAILURE=1
- GCOV=/usr/bin/gcov-4.9 - GCOV=/usr/bin/gcov-4.9
- SUPERDIR=${HOME}/src - SUPERDIR=${HOME}/src
...@@ -168,7 +168,7 @@ matrix: ...@@ -168,7 +168,7 @@ matrix:
apt: apt:
sources: sources:
- *commonsources - *commonsources
- ['ubuntu-toolchain-r-test'] - ['ubuntu-toolchain-r-test']
packages: packages:
- *commonpackages - *commonpackages
# fake last module to delete to distinguish testlogs # fake last module to delete to distinguish testlogs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment