Skip to content

Commit 588b1f7

Browse files
authored
Merge #421 'fix codecov, remove scrutinizer'
2 parents a5ee340 + bf1f00b commit 588b1f7

File tree

5 files changed

+10
-146
lines changed

5 files changed

+10
-146
lines changed

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[run]
22
source = .
33
branch = true
4+
parallel = 1
45

56
[report]
67
show_missing = true

.scrutinizer.yml

Lines changed: 0 additions & 134 deletions
This file was deleted.

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dist: xenial
22
language: python
33
env:
44
global:
5-
- PYTEST_ADDOPTS=-vv
5+
- PYTEST_ADDOPTS="-vv --cov-append"
66
matrix:
77
- CI_TARGET=tests
88
matrix:
@@ -11,28 +11,28 @@ matrix:
1111
dist: trusty
1212
sudo: false
1313
- python: 3.6
14-
env: CI_TARGET=checkqa TOXENV=checkqa
14+
env: CI_TARGET=checkqa TOXENV=checkqa,docs
1515
python:
16-
# If the build matrix gets bigger, also update the number of runs
17-
# at the bottom of .scrutinizer.yml.
1816
- 2.7
1917
- 3.4
2018
- 3.5
2119
- 3.6
2220
- 3.7
23-
before_install:
21+
install:
2422
- if [ $CI_TARGET = tests ]; then
2523
eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64";
26-
pip install -q scrutinizer-ocular tox-travis;
24+
pip install -q tox-travis;
2725
else
2826
pip install -q tox;
2927
fi
3028
script:
3129
- tox
3230
after_script:
3331
- if [ $CI_TARGET = tests ]; then
32+
set -x;
33+
coverage combine;
3434
coverage report -m;
3535
coverage xml;
3636
bash <(curl --retry 5 --silent --fail https://codecov.io/bash) -f coverage.xml;
37-
ocular;
37+
set +x;
3838
fi

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/neovim/pynvim.svg?branch=master)](https://travis-ci.org/neovim/pynvim)
44
[![Documentation Status](https://readthedocs.org/projects/pynvim/badge/?version=latest)](http://pynvim.readthedocs.io/en/latest/?badge=latest)
5-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/neovim/pynvim/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/neovim/pynvim/?branch=master)
6-
[![Code Coverage](https://scrutinizer-ci.com/g/neovim/pynvim/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/neovim/pynvim/?branch=master)
5+
[![Code coverage](https://codecov.io/gh/neovim/pynvim/branch/master/graph/badge.svg)](https://codecov.io/gh/neovim/pynvim)
76

87
Pynvim implements support for python plugins in Nvim. It also works as a library for
98
connecting to and scripting Nvim processes through its msgpack-rpc API.

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[tox]
22
envlist =
33
py{27,34,35,36,37,38}-{asyncio,pyuv}-cov,pypy-cov
4-
py36-docs
54
checkqa
65

76
[testenv]
@@ -11,10 +10,9 @@ deps =
1110
cov: pytest-cov
1211
pyuv: pyuv
1312
setenv =
14-
cov: PYTEST_ADDOPTS=--cov=. --cov-append {env:PYTEST_ADDOPTS:}
13+
cov: PYTEST_ADDOPTS=--cov=. {env:PYTEST_ADDOPTS:}
1514
passenv = PYTEST_ADDOPTS
1615
commands =
17-
cov: coverage erase
1816
python -m pytest {posargs}
1917

2018
[testenv:checkqa]

0 commit comments

Comments
 (0)