From 8226d67fdfd8421753c684bbdc0961ca5b75febd Mon Sep 17 00:00:00 2001 From: itchyny Date: Sat, 9 Apr 2016 09:59:39 +0900 Subject: [PATCH] update .travis.yml: test on older versions of Vim --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 21ebd71..69c8ea4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,12 @@ sudo: false install: - git clone --depth=1 https://github.com/thinca/vim-themis /tmp/themis + - git clone https://github.com/vim/vim /tmp/vim + - (cd /tmp/vim && ./configure --prefix=/tmp/vim-latest && make && make install) + - (cd /tmp/vim && git checkout . && git checkout v7.3 && ./configure --prefix=/tmp/vim-7.3 && make && make install) + - (cd /tmp/vim && git checkout . && git checkout v7.2.050 && ./configure --prefix=/tmp/vim-7.2.050 && make && make install) script: - - vim --version - - /tmp/themis/bin/themis --reporter spec + - PATH=/tmp/vim-latest/bin/:$PATH vim --version && /tmp/themis/bin/themis --reporter spec + - PATH=/tmp/vim-7.3/bin/:$PATH vim --version && /tmp/themis/bin/themis --reporter spec + - PATH=/tmp/vim-7.2.050/bin/:$PATH vim --version && /tmp/themis/bin/themis --reporter spec