mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
Travis: Check some configuration variables in before_script.
This commit is contained in:
parent
78ec75fb60
commit
be39fc9151
@ -10,6 +10,16 @@ fi
|
|||||||
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
source "${CI_DIR}/common/build.sh"
|
source "${CI_DIR}/common/build.sh"
|
||||||
|
|
||||||
|
# Test some of the configuration variables.
|
||||||
|
if [[ -n "${GCOV}" ]] && [[ ! $(type -P "${GCOV}") ]]; then
|
||||||
|
echo "\$GCOV: '${GCOV}' is not executable."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [[ -n "${LLVM_SYMBOLIZER}" ]] && [[ ! $(type -P "${LLVM_SYMBOLIZER}") ]]; then
|
||||||
|
echo "\$LLVM_SYMBOLIZER: '${LLVM_SYMBOLIZER}' is not executable."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
|
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
|
||||||
# Adds user to a dummy group.
|
# Adds user to a dummy group.
|
||||||
# That allows to test changing the group of the file by `os_fchown`.
|
# That allows to test changing the group of the file by `os_fchown`.
|
||||||
|
Loading…
Reference in New Issue
Block a user