summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorryanss2015-02-21 17:21:44 -0500
committerryanss2015-02-21 17:57:32 -0500
commit59f3cb51632e99fef68afed76d3c6eca5853560c (patch)
tree29724310486f8be7be18f85056a277dd3172caf2 /.travis.yml
parente4387a47276081ba1d514ce81e1ac8132ace2ba6 (diff)
downloadvim-hn-59f3cb51632e99fef68afed76d3c6eca5853560c.tar.gz
Run Travis tests on Vim with +python and +python3
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index da1c718..193e52c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,21 @@
language: vim
+env:
+ - PYVERSION=2
+ - PYVERSION=3
+
before_script:
+ - if [ $PYVERSION = 3 ]; then
+ sudo apt-get install python3-dev;
+ hg clone https://code.google.com/p/vim/;
+ cd vim;
+ ./configure --enable-python3interp;
+ make;
+ sudo make install;
+ sudo cp /usr/local/bin/vim /usr/bin/vim;
+ cd -;
+ fi
- git clone https://github.com/junegunn/vader.vim.git
script: |