X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c939eb66bedaa2997880d161348414fcd7668301..a496e2b4898b1a0e271e885827ea1c737ecc3255:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 4a78b6f..2489e21 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 @@ -17,6 +24,13 @@ before_script: | export PATH="/usr/local/bin:$PATH" cd "$TRAVIS_BUILD_DIR" fi + if [ "$TRAVIS_OS_NAME" = "osx" ]; then + easy_install pip + pip install virtualenv + else + sudo -H pip install virtualenv + fi -script: | - make test +script: + - make test + - make doc