neovim/.ci/before_install.sh

26 lines
458 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
set -o pipefail
if [[ -n "${CI_TARGET}" ]]; then
exit
fi
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
brew update
fi
2016-12-27 15:44:36 -07:00
echo "Upgrade Python 2 pip."
pip2.7 -q install --user --upgrade pip
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
echo "Install Python 3."
brew install python3
2016-12-27 15:44:36 -07:00
echo "Upgrade Python 3 pip."
pip3 -q install --user --upgrade pip
else
2016-12-27 15:44:36 -07:00
echo "Upgrade Python 3 pip."
pip3 -q install --user --upgrade pip
fi