X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c0ddc5537f3f023228a36cae9da0f2b3d81702b0..803edeaee97bea3690fdb5db76cd58b8d4f7cc03:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index 12bf12e..fde0658 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,26 @@ language: vim +env: + - TEST=package + - TEST=latest -install: | - sudo apt-get update - sudo apt-get install vim - cd .. - git clone https://github.com/godlygeek/tabular - git clone https://github.com/junegunn/vader.vim +before_script: | + if [ "$TEST" = "package" ]; then + sudo apt-get -y update + sudo apt-get -y install vim + 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 + sudo pip install virtualenv -script: | - cd "$TRAVIS_BUILD_DIR" - ./test/run-tests.sh +script: + - stty cols 80 + - export COLUMNS=80 + - make test + - make doc