mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
CI/travis: enable gcov for one build only. #3926
This commit is contained in:
parent
4d27bd6bfe
commit
6f25ba0550
@ -7,4 +7,4 @@ if [[ -n "${CI_TARGET}" ]]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
coveralls --gcov "$(which "${GCOV}")" --encoding iso-8859-1 || echo 'coveralls upload failed.'
|
[ "$USE_GCOV" = on ] && { coveralls --gcov "$(which "${GCOV}")" --encoding iso-8859-1 || echo 'coveralls upload failed.' ; }
|
||||||
|
12
.travis.yml
12
.travis.yml
@ -28,7 +28,6 @@ env:
|
|||||||
- CMAKE_FLAGS="-DTRAVIS_CI_BUILD=ON
|
- CMAKE_FLAGS="-DTRAVIS_CI_BUILD=ON
|
||||||
-DCMAKE_BUILD_TYPE=Debug
|
-DCMAKE_BUILD_TYPE=Debug
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX
|
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX
|
||||||
-DUSE_GCOV=ON
|
|
||||||
-DBUSTED_OUTPUT_TYPE=gtest
|
-DBUSTED_OUTPUT_TYPE=gtest
|
||||||
-DDEPS_PREFIX=$DEPS_BUILD_DIR/usr"
|
-DDEPS_PREFIX=$DEPS_BUILD_DIR/usr"
|
||||||
- DEPS_CMAKE_FLAGS="-DDEPS_DOWNLOAD_DIR:PATH=$DEPS_DOWNLOAD_DIR"
|
- DEPS_CMAKE_FLAGS="-DDEPS_DOWNLOAD_DIR:PATH=$DEPS_DOWNLOAD_DIR"
|
||||||
@ -62,34 +61,31 @@ 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
|
||||||
# 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
|
env: BUILD_32BIT=ON
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang-3.6
|
compiler: clang-3.6
|
||||||
env: GCOV=llvm-cov-3.6 CLANG_SANITIZER=ASAN_UBSAN
|
env: GCOV=llvm-cov-3.6 CLANG_SANITIZER=ASAN_UBSAN CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON"
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang-3.6
|
compiler: clang-3.6
|
||||||
env: GCOV=llvm-cov-3.6 CLANG_SANITIZER=MSAN
|
env: CLANG_SANITIZER=MSAN
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang-3.6
|
compiler: clang-3.6
|
||||||
env: CLANG_SANITIZER=TSAN
|
env: 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
|
||||||
allow_failures:
|
allow_failures:
|
||||||
# TODO: Remove when all MSan errors have been fixed.
|
# TODO: Remove when all MSan errors have been fixed.
|
||||||
- env: GCOV=llvm-cov-3.6 CLANG_SANITIZER=MSAN
|
- env: CLANG_SANITIZER=MSAN
|
||||||
|
|
||||||
before_install: .ci/before_install.sh
|
before_install: .ci/before_install.sh
|
||||||
install: .ci/install.sh
|
install: .ci/install.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user