diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-01-19 13:49:16 -0600 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-01-19 13:49:16 -0600 |
| commit | 149eb0e4d90aad1a252aff58cefc356f018e33a3 (patch) | |
| tree | 55f8db2df3457efe785398f1c9da4afc4e5bbd1c | |
| parent | Bump version: 0.3.3 → 0.4.0 (diff) | |
| download | config-file-149eb0e4d90aad1a252aff58cefc356f018e33a3.zip | |
Test configuration for using codecov
| -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 |