X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/ca3005b75641664ba9a982a4fa5bb5b871c07d91..a496e2b4898b1a0e271e885827ea1c737ecc3255:/.travis.yml diff --git a/.travis.yml b/.travis.yml index ce03b62..2489e21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,36 @@ 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 + easy_install pip + pip install virtualenv + else + sudo -H pip install virtualenv fi - git clone https://github.com/godlygeek/tabular - git clone https://github.com/junegunn/vader.vim -script: | - make test +script: + - make test + - make doc