1
0
mirror of https://github.com/amix/vimrc synced 2025-07-12 14:15:00 +08:00

fix(install): fix install method

This commit is contained in:
wangjun
2022-04-13 17:21:09 +08:00
parent af4c7947ab
commit 3e41778dc3
1582 changed files with 422 additions and 433 deletions

View File

@ -0,0 +1,34 @@
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
curl https://bootstrap.pypa.io/get-pip.py | sudo python
fi
sudo -H pip install virtualenv
script:
- make test
- make doc