forked from neovim/pynvim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
40 lines (40 loc) · 837 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
dist: xenial
language: python
env:
global:
- PYTEST_ADDOPTS="-vv --cov-append"
matrix:
- CI_TARGET=tests
matrix:
include:
- python: pypy
dist: trusty
sudo: false
- python: 3.6
env: CI_TARGET=checkqa TOXENV=checkqa,docs
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
install:
- if [ $CI_TARGET = tests ]; then
eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64";
pip install -q tox-travis;
else
pip install -q tox;
fi
script:
- tox
after_script:
- if [ $CI_TARGET = tests ]; then
set -x;
pip install coverage;
coverage combine;
coverage report -m;
coverage xml;
bash <(curl --retry 5 --silent --fail https://codecov.io/bash) -f coverage.xml;
set +x;
fi