From 577d9f3f7e41cd2ac4813a35832bb2550c31a481 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Thu, 26 Mar 2015 07:37:45 +0900 Subject: [PATCH] Improve travis ci script Reviewed-by: Justin M. Keyes , Nikolay Pavlov --- .ci/common.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.ci/common.sh b/.ci/common.sh index e1967198e8..4894c0d5ad 100644 --- a/.ci/common.sh +++ b/.ci/common.sh @@ -1,3 +1,5 @@ +set -eu + valgrind_check() { check_logs "$1" "valgrind-*" } @@ -7,6 +9,7 @@ asan_check() { } check_logs() { + local err="" check_core_dumps # Iterate through each log to remove an useless warning for log in $(find "$1" -type f -name "$2"); do @@ -48,7 +51,16 @@ check_core_dumps() { } setup_deps() { + sudo pip install --upgrade pip sudo pip install neovim + + # For pip3 + # https://github.com/travis-ci/travis-ci/issues/1528 + # sudo apt-get install -q python3.3-dev + # curl -Ss http://python-distribute.org/distribute_setup.py | sudo python3 + # curl -Ss https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python3 + # sudo pip3.3 install neovim + 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