mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
26 lines
463 B
Bash
Executable File
26 lines
463 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
if [[ "${CI_TARGET}" == lint ]]; then
|
|
exit
|
|
fi
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
|
|
brew update
|
|
fi
|
|
|
|
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
|
|
echo "Upgrade Python 3 pip."
|
|
pip3 -q install --user --upgrade pip
|
|
else
|
|
echo "Upgrade Python 3 pip."
|
|
pip3 -q install --user --upgrade pip
|
|
fi
|