From e49c0d8206cee76458e2473e11339c43b8047663 Mon Sep 17 00:00:00 2001 From: Zakir Gowani Date: Tue, 5 Mar 2019 17:01:29 -0600 Subject: [PATCH] Add code coverage check --- .gitignore | 2 ++ .travis.yml | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9641b55..b40c514 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,8 @@ wheels/ *.egg-info/ .installed.cfg *.egg +src +src/* # PyInstaller # Usually these files are written by a python script from a template diff --git a/.travis.yml b/.travis.yml index fb32142..55147a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,8 @@ install: # run tests script: - cd tests - - pytest \ No newline at end of file + - python -m pytest -v + +# run tests +after_script: + - pipenv run python-codacy-coverage -r coverage.xml \ No newline at end of file