Improve travis ci script

Reviewed-by: Justin M. Keyes <justinkz@gmail.com>, Nikolay Pavlov <zyx.vim@gmail.com>
This commit is contained in:
Shougo Matsushita 2015-03-26 07:37:45 +09:00
parent 42de617974
commit 577d9f3f7e

View File

@ -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