diff options
| -rw-r--r-- | .coveragerc | 2 | ||||
| -rw-r--r-- | .travis.yml | 6 | ||||
| -rw-r--r-- | tox.ini | 5 |
3 files changed, 10 insertions, 3 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..e272605 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[run] +source=config_file
\ No newline at end of file diff --git a/.travis.yml b/.travis.yml index f535f0c..3fb5db1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,9 @@ matrix: include: - stage: test python: 3.8 - install: pip install --upgrade pip tox poetry + install: pip install --upgrade pip tox poetry codecov script: tox env: - TOXENV: py38
\ No newline at end of file + TOXENV: py38 + after_success: + - codecov
\ No newline at end of file @@ -3,7 +3,10 @@ isolated_build = true envlist = py38 [testenv] +passenv = CI TRAVIS TRAVIS_* +deps = codecov whitelist_externals = poetry commands = poetry install -v - poetry run pytest --cov=config_file/ tests/
\ No newline at end of file + poetry run pytest --cov=config_file/ tests/ + codecov
\ No newline at end of file |