aboutsummaryrefslogtreecommitdiff
path: root/.ci/common.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/common.sh')
-rw-r--r--.ci/common.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/.ci/common.sh b/.ci/common.sh
index b27a756683..e83038c1a6 100644
--- a/.ci/common.sh
+++ b/.ci/common.sh
@@ -35,8 +35,12 @@ check_core_dumps() {
done
}
-setup_prebuilt_deps() {
- eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) deps-${1}"
+setup_deps() {
+ if [ "$BUILD_NVIM_DEPS" != "true" ]; then
+ eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) deps-${1}"
+ elif [ "$TRAVIS_OS_NAME" = "linux" ]; then
+ sudo apt-get install libtool
+ fi
}
tmpdir="$(pwd)/tmp"