X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/50d782cce400deebc9063ba4b27f832fe1771325..9041a939364442c5ece81bde677a675fb9884429:/.travis.yml diff --git a/.travis.yml b/.travis.yml index a2bf915..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 @@ -17,7 +24,10 @@ before_script: | export PATH="/usr/local/bin:$PATH" cd "$TRAVIS_BUILD_DIR" fi - sudo pip install virtualenv + if [ "$TRAVIS_OS_NAME" = "osx" ]; then + sudo -H easy_install pip + fi + sudo -H pip install virtualenv script: - make test