Browse Source

Tests: test on Ubuntu and OSX

Marco Hinz 10 years ago
parent
commit
d8d27b216c
2 changed files with 6 additions and 3 deletions
  1. 6 2
      .travis.yml
  2. 0 1
      test/run

+ 6 - 2
.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

+ 0 - 1
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'