X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e43bca70debd4a63deca8a25155ceaaa32566f0b..e86a7e49587cb213c95e8e428d3245d70ee96f14:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 130c2af..310e503 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,35 @@ language: vim + +os: + - linux + - osx + env: - TEST=package - TEST=latest before_script: | - cd .. if [ "$TEST" = "package" ]; then - sudo apt-get -y update - sudo apt-get -y install vim + 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 - + cd "$TRAVIS_BUILD_DIR" + fi + if [ "$TRAVIS_OS_NAME" = "osx" ]; then + curl https://bootstrap.pypa.io/get-pip.py | sudo python + sudo -H easy_install pip fi - git clone https://github.com/godlygeek/tabular - git clone https://github.com/junegunn/vader.vim + sudo -H pip install virtualenv -script: | - cd "$TRAVIS_BUILD_DIR" - ./test/run-tests.sh +script: + - make test + - make doc