-
Notifications
You must be signed in to change notification settings - Fork 112
/
.travis.yml
32 lines (32 loc) · 1.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: generic
env:
global:
- VROOM_VERSION=0.14.0
jobs:
# This Maktaba version should match the minimum required in instant/flags.vim.
- CI_TARGET=vim MAKTABA_VERSION=1.12.0
- CI_TARGET=vim MAKTABA_VERSION=master
- CI_TARGET=neovim MAKTABA_VERSION=1.12.0
- CI_TARGET=neovim MAKTABA_VERSION=master
before_script:
- sudo apt-get update
- sudo apt-get install python3-dev
- if [ $CI_TARGET = vim ]; then
sudo apt-get install vim-gnome;
elif [ $CI_TARGET = neovim ]; then
eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64" &&
wget https://bootstrap.pypa.io/pip/3.5/get-pip.py &&
sudo python3 get-pip.py &&
sudo pip3 install neovim;
fi
- wget https://github.com/google/vroom/releases/download/v${VROOM_VERSION}/vroom_${VROOM_VERSION}-1_all.deb
- sudo dpkg -i ./vroom_${VROOM_VERSION}-1_all.deb
- git clone -b ${MAKTABA_VERSION} https://github.com/google/vim-maktaba.git ../maktaba/
- git clone https://github.com/google/vim-glaive.git ../glaive/
services:
- xvfb
script:
- '[ $CI_TARGET = neovim ] && VROOM_ARGS="--neovim" || VROOM_ARGS=""'
- vroom $VROOM_ARGS --crawl ./vroom/
jobs:
fast_finish: true