aboutsummaryrefslogtreecommitdiff
path: root/.ci/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/run_tests.sh')
-rwxr-xr-x.ci/run_tests.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/.ci/run_tests.sh b/.ci/run_tests.sh
new file mode 100755
index 0000000000..f3a6466c5e
--- /dev/null
+++ b/.ci/run_tests.sh
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+
+set -e
+set -o pipefail
+
+# TODO: Stop here for MinGW builds,
+# building Neovim doesn't work yet.
+if [[ "${BUILD_MINGW}" == ON ]]; then
+ echo "Neovim doesn't build on MinGW yet; stopping build."
+ touch "${SUCCESS_MARKER}"
+ exit
+fi
+
+CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+source "${CI_DIR}/common/build.sh"
+source "${CI_DIR}/common/test.sh"
+
+build_nvim
+
+run_unittests
+run_functionaltests
+run_oldtests
+
+install_nvim
+
+touch "${SUCCESS_MARKER}"