Skip to content

Commit

Permalink
Fix PYTEST_ADDOPTS, add .coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Jul 16, 2018
1 parent 47d2674 commit f2e9ff8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[run]
source = .
branch = true

[report]
include = rplugin/python3/deoplete/*,test/*
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ vim-themis
.cache
.mypy_cache
tags
.coverage
.coverage.*
coverage.xml
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install:
env:
global:
- PATH=$HOME/neovim/bin:$PATH
- PYTEST_ADDOPTS=--cov -rplugin/python3/deoplete
- PYTEST_ADDOPTS="--cov rplugin/python3/deoplete --cov test --cov-report=term-missing:skip-covered"

script:
- make --keep-going test lint
Expand Down

0 comments on commit f2e9ff8

Please sign in to comment.