-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
40 lines (35 loc) · 927 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
37
38
39
40
sudo: false
language: generic
branches:
only:
- master
matrix:
fast_finish: true
include:
- env: ENV=vimlint
- env: ENV=test_nvim VIM_QF_RESIZE_DO_COVERAGE=1
- env: ENV=test_vim VIM_QF_RESIZE_DO_COVERAGE=1
- env: ENV=test_docker VIM_QF_RESIZE_DO_COVERAGE=1
services:
- docker
- env: ENV=vint
language: python
python: 3.6
install:
- |
if [ "$ENV" = "test_nvim" ]; then
eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64"
fi
- |
if [ "$VIM_QF_RESIZE_DO_COVERAGE" = 1 ]; then
pip install --user covimerage
fi
script: make $ENV
after_success:
- |
if [ "$VIM_QF_RESIZE_DO_COVERAGE" = 1 ]; then
set -e
coverage xml
coverage report -m --skip-covered
bash <(curl -s https://codecov.io/bash) -X search -X gcov -X coveragepy -f coverage.xml -F $ENV
fi