forked from python-mode/python-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
17 lines (17 loc) · 930 Bytes
/
.travis.yml
File metadata and controls
17 lines (17 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Build vim from source with python3 support and execute tests.
branches:
only:
- develop
- dev_unstable
before_install:
- export ORIGINAL_FOLDER=$PWD
- sudo apt install libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev python3-dev lua5.1 lua5.1-dev libperl-dev git
- sudo apt remove vim vim-runtime gvim
- cd /tmp
- git clone https://github.com/vim/vim.git
- cd vim
- ./configure --with-features=huge --enable-multibyte --enable-python3interp=yes --with-python3-config-dir=/usr/lib/python3.5/config --enable-perlinterp=yes --enable-luainterp=yes --enable-gui=gtk2 --enable-cscope --prefix=/usr/local
- sudo make && sudo make install
- cd $ORIGINAL_FOLDER
install: git clone --recursive https://github.com/python-mode/python-mode
script: vim --version && cd ./tests && bash -x ./test.sh