mirror of
https://github.com/neovim/neovim.git
synced 2025-10-18 15:51:50 +00:00
Travis: Use gcov that matches the used compiler.
This fixes gcov/coveralls warnings like the following: Segmentation fault (core dumped) charset.c.gcno:version '501*', prefer '406*' Out of memory allocating 33061786568 bytes after a total of 2522648 bytes http://stackoverflow.com/a/14676272/249642
This commit is contained in:

committed by
Thiago de Arruda

parent
d2eb4a9346
commit
78ec75fb60
@@ -7,4 +7,4 @@ if [[ -n "${CI_TARGET}" ]]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
coveralls --encoding iso-8859-1 || echo 'coveralls upload failed.'
|
coveralls --gcov "$(which "${GCOV}")" --encoding iso-8859-1 || echo 'coveralls upload failed.'
|
||||||
|
11
.travis.yml
11
.travis.yml
@@ -64,26 +64,29 @@ matrix:
|
|||||||
env: CI_TARGET=clint
|
env: CI_TARGET=clint
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc-5
|
compiler: gcc-5
|
||||||
|
env: GCOV=gcov-5
|
||||||
- os: linux
|
- os: linux
|
||||||
env: BUILD_32BIT=ON
|
|
||||||
# Travis creates a cache per compiler.
|
# Travis creates a cache per compiler.
|
||||||
# Set a different value here to store 32-bit
|
# Set a different value here to store 32-bit
|
||||||
# dependencies in a separate cache.
|
# dependencies in a separate cache.
|
||||||
compiler: gcc-5 -m32
|
compiler: gcc-5 -m32
|
||||||
|
env: GCOV=gcov-5 BUILD_32BIT=ON
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CLANG_SANITIZER=ASAN_UBSAN
|
|
||||||
compiler: clang-3.6
|
compiler: clang-3.6
|
||||||
|
env: GCOV=llvm-cov-3.6 CLANG_SANITIZER=ASAN_UBSAN
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CLANG_SANITIZER=MSAN
|
|
||||||
compiler: clang-3.6
|
compiler: clang-3.6
|
||||||
|
env: GCOV=llvm-cov-3.6 CLANG_SANITIZER=MSAN
|
||||||
# FIXME (tarruda): Uncomment when TSan tests don't hang anymore.
|
# FIXME (tarruda): Uncomment when TSan tests don't hang anymore.
|
||||||
#- os: linux
|
#- os: linux
|
||||||
# env: CLANG_SANITIZER=TSAN
|
|
||||||
# compiler: clang-3.6
|
# compiler: clang-3.6
|
||||||
|
# env: GCOV=llvm-cov-3.6 CLANG_SANITIZER=TSAN
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
env: GCOV=gcov
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: gcc-4.9
|
compiler: gcc-4.9
|
||||||
|
env: GCOV=gcov-4.9
|
||||||
- os: linux
|
- os: linux
|
||||||
env: BUILD_MINGW=ON
|
env: BUILD_MINGW=ON
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
Reference in New Issue
Block a user