From d8d27b216c08f43dd390e31bffc49549bd8e6eb8 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 3 Feb 2016 15:12:22 +0100 Subject: [PATCH] Tests: test on Ubuntu and OSX --- .travis.yml | 8 ++++++-- test/run | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 09a2e58..b1fab3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,12 @@ language: vim +os: + - linux + - osx + before_script: - - sudo apt-get -qq update - - sudo apt-get install -y vim-gtk + - if [[ "$TRAVIS_OS_NAME" == linux ]]; then sudo apt-get -qq update && sudo apt-get install -y vim-gtk; fi + - if [[ "$TRAVIS_OS_NAME" == osx ]]; then brew update && brew install vim; fi script: - test/run diff --git a/test/run b/test/run index cf24eef..f0cfa0e 100755 --- a/test/run +++ b/test/run @@ -20,5 +20,4 @@ fi cp viminfo viminfo.tmp trap "{ rm viminfo.tmp; }" EXIT -echo '(Be patient.. testing can take a while.)' HOME=/dev/null vim -XNu vimrc -i viminfo.tmp -c 'Vader! feature/*.vader'