From: fennecdjay Date: Thu, 4 Jul 2019 23:04:45 +0000 (+0200) Subject: :wrench: Coverall. X-Git-Tag: nightly~2361 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=af37ea903d02e8870311a8a2aceb46a9a47ffa60;p=gwion.git :wrench: Coverall. --- diff --git a/.travis.yml b/.travis.yml index 5127f3de..eca164dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,8 +26,6 @@ env: - GWION_TEST_DIR=tmp_test - PREFIX=$TRAVIS_BUILD_DIR # - secure: qC1iGXWyzrJrn6pIxZup0CYThjZC44NuEStU50wx3Jdi1owYkkQ/eXWw55TvhswmnnO7l+wQsN2RnP6zsjJTq6wuNjAyG8w89rgCevbCpOu5vZAWF0+/c5H7qDG+NS9aumfd53QPC55ZcjjjM+5j71+J8XXoj+n4ygR5dVtTk/xF4sTBBwyaUkG9r/Hoocd3gtd3Up/ZlDYQd5/tCrfiFcWvAs4197LPfCDIW7k/tnXEmKV3le/yTXU0/ZByzjGQkhhpqvMqh3BTQrKExxeBt8utqnwLVwUAIWnACUIJz8bjyWWX++DwP1cFExAUBWB21A4i/qpXAieu7whcwE/hPkrVJjqEedbXNonyFHAwwOVhPIckk2OVzD6tCNp8IJZkccq8ONbqM/WpPAKip//13wttDvsDRgva2nkS7LZ6n/V1MHye6OgZD3778bty6YGOSkyEiT9ryZGaDrGbNbdXcAyCUmbd8a/N1RnQC+TSkvRBAhVL50dgSHNYNXZNn02hqiD/QNDqgdjOQ/jkgROQxMj8EnsVDPTOWIYkKpiTawQF9WqCPdQLl7+P5+uuUhfeMiyohu90yDOl7BXxhS8FJt/YUCMBLGS3OsmnVpA5XoG2aBZKDz1gXedNcQJ1JAEB0XO5mSJn4jXbDtI9QMZu/jNxm1TmyJaItv1l0ln3zn0= - - USE_MEMCHECK=1 - - USE_COVERAGE=1 matrix: - USE_DOUBLE=1 - USE_DOUBLE=0 @@ -46,7 +44,6 @@ install: pip install --user --upgrade pip; pip install --user urllib3[secure]; pip install --user cpp-coveralls; - export USE_COVERAGE=1; fi; # - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1 ]; then gem install coveralls-lcov; fi; - if [ $(uname) != "Linux" ] && [ $(uname) != "Darwin" ]; then @@ -67,8 +64,11 @@ before_script: - mkdir -p "$GWION_ADD_DIR" "$GWION_TEST_DIR" script: - - if [ $(uname) = "Linux" ] || [ $(uname) = "Darwin" ]; - then make && make test; + - if [ $(uname) = "Linux" ] || [ $(uname) = "Darwin" ]; then + if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1 ]; + then USE_COVERAGE=1 make && make test; + else make && make test; + fi else { if [ "$CC" = "clang" ]; then export CFLAGS+=" -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dssize_t=SSIZE_T";