X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/d346b2cf5a80a3757a01a683a047a68dd3d2c276..5c9ce6b5230654c73d3bc3311f9dff7c4404f228:/.travis.yml?ds=sidebyside diff --git a/.travis.yml b/.travis.yml index fde0658..338161c 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,10 +24,11 @@ before_script: | export PATH="/usr/local/bin:$PATH" cd "$TRAVIS_BUILD_DIR" fi - sudo pip install virtualenv + if [ "$TRAVIS_OS_NAME" = "osx" ]; then + curl https://bootstrap.pypa.io/get-pip.py | sudo python + fi + sudo -H pip install virtualenv script: - - stty cols 80 - - export COLUMNS=80 - make test - make doc