mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
5b692124cc
provider#node#can_inspect will fail on some systems because it is common to have old node versions in OS (any Linux OS that has LTS releases) and CI (Travis, Appveyor). NODE_PATH can be trivially set with VimL. Build scripts don't have to set it for the nodejs tests to work. NODE_PATH is optional to begin with and is used only as a workaround for the neovim node.js host.
35 lines
629 B
Bash
Executable File
35 lines
629 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
source "${CI_DIR}/common/build.sh"
|
|
source "${CI_DIR}/common/test.sh"
|
|
source "${CI_DIR}/common/suite.sh"
|
|
|
|
enter_suite build
|
|
|
|
check_core_dumps --delete quiet
|
|
|
|
prepare_build
|
|
build_nvim
|
|
|
|
exit_suite --continue
|
|
|
|
enter_suite tests
|
|
|
|
if test "$CLANG_SANITIZER" != "TSAN" ; then
|
|
# Additional threads are only created when the builtin UI starts, which
|
|
# doesn't happen in the unit/functional tests
|
|
run_test run_unittests
|
|
run_test run_functionaltests
|
|
fi
|
|
run_test run_oldtests
|
|
|
|
run_test install_nvim
|
|
|
|
exit_suite --continue
|
|
|
|
end_tests
|