X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5db60182fa3a76c5c382e16f77db10290f24b7ae..da4f9691597928065d849fe9c0863ed3a756b52d:/.travis.yml?ds=inline diff --git a/.travis.yml b/.travis.yml index 41ace46..90cc371 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,19 @@ language: vim + +os: + - linux + - osx + env: - TEST=package - TEST=latest before_script: | 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 @@ -15,8 +22,13 @@ before_script: | make sudo make install export PATH="/usr/local/bin:$PATH" - cd - + cd "$TRAVIS_BUILD_DIR" + fi + if [ "$TRAVIS_OS_NAME" = "osx" ]; then + sudo -H easy_install pip fi + sudo -H pip install virtualenv -script: | - make test +script: + - make test + - make doc