mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
travis: Test nvim --version in gcc build
The --version flag drives Nvim to take a different code path, which is worth testing. Now we do it in the "gcc" ci target(It will only fail if the exit code is different than 0)
This commit is contained in:
@@ -11,6 +11,7 @@ export VALGRIND_LOG="$tmpdir/valgrind-%p.log"
|
||||
CMAKE_EXTRA_FLAGS="-DTRAVIS_CI_BUILD=ON -DUSE_GCOV=ON"
|
||||
|
||||
$MAKE_CMD CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" unittest
|
||||
build/bin/nvim --version
|
||||
if ! $MAKE_CMD test; then
|
||||
valgrind_check "$tmpdir"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user