2018-02-04 06:35:08 -05:00
|
|
|
language: vim
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
env:
|
|
|
|
- TEST=package
|
|
|
|
- TEST=latest
|
|
|
|
|
|
|
|
before_script: |
|
|
|
|
if [ "$TEST" = "package" ]; then
|
|
|
|
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
|
|
|
sudo apt-get -y update
|
|
|
|
sudo apt-get -y install vim
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
cd ..
|
|
|
|
git clone --depth 1 https://github.com/vim/vim
|
|
|
|
cd vim
|
|
|
|
./configure --with-features=huge
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
export PATH="/usr/local/bin:$PATH"
|
|
|
|
cd "$TRAVIS_BUILD_DIR"
|
|
|
|
fi
|
|
|
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
2018-06-14 06:31:12 -04:00
|
|
|
curl https://bootstrap.pypa.io/get-pip.py | sudo python
|
2018-02-04 06:35:08 -05:00
|
|
|
fi
|
|
|
|
sudo -H pip install virtualenv
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make test
|
|
|
|
- make doc
|