mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
ci: Do not hide ci directory (#6410)
This commit is contained in:
committed by
Justin M. Keyes
parent
77539eef9b
commit
a1c928e70c
18
ci/script.sh
Executable file
18
ci/script.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
if [[ -n "${CI_TARGET}" ]]; then
|
||||
make "${CI_TARGET}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# This will pass the environment variables down to a bash process which runs
|
||||
# as $USER, while retaining the environment variables defined and belonging
|
||||
# to secondary groups given above in usermod.
|
||||
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
|
||||
sudo -E su "${USER}" -c "ci/run_tests.sh"
|
||||
else
|
||||
ci/run_tests.sh
|
||||
fi
|
||||
Reference in New Issue
Block a user