forked from google/vroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (34 loc) · 780 Bytes
/
.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
33
34
35
36
language: python
python:
- 3.7
env:
global:
- DISABLED_IN_NEOVIM="messages.vroom directives.vroom system.vroom"
jobs:
- CI_TARGET=pytests
- CI_TARGET=vim
- CI_TARGET=neovim VROOM_ARGS="--neovim --skip $DISABLED_IN_NEOVIM"
jobs:
fast_finish: true
before_install:
- if [ $CI_TARGET != vim ]; then
pip install neovim;
fi
install:
- python setup.py -q install
before_script:
- if [ $CI_TARGET = neovim ]; then
eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64";
fi
services:
- xvfb
script:
- if [ $CI_TARGET = pytests ]; then
nosetests -v --with-doctest;
else
vroom $VROOM_ARGS --crawl ./examples/;
fi
addons:
apt:
packages:
- vim-gnome