Skip to content

Commit

Permalink
Added coverage reports to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
zensoup committed Jan 18, 2019
1 parent b571da9 commit b56afd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ sudo: required
dist: xenial
install:
- pip install -r requirements-dev.txt
- pip install coverage
- pip install codecov
script:
- nosetests -vs
- python run_doctests.py
- coverage run_doctests.py
- nosetests --with-coverage --cover-package=fhirbug.server --cover-package=fhirbug.models --cover-package=fhirbug.db --cover-package=fhirbug.config

after_success:
- codecov
2 changes: 1 addition & 1 deletion tools/generate_models.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TOOLS_DIR=$(dirname "$0")
cd $TOOLS_DIR
source fhir_parser/.venv/bin/activate

cp ../Fhir/base/settings.py fhir_parser/settings.py
cp ../fhirbug/Fhir/base/settings.py fhir_parser/settings.py
cd fhir_parser
./generate.py $1
cd ..

0 comments on commit b56afd5

Please sign in to comment.