Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .coverage

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*
*/__pycache__/*
*.pyc
*/venv/*
*/home/travis/virtualenv/*
*/mymodule/tests/*
*__init__.py
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-pro
repo_token: QIIblKeUJ8cVuJu4VrmDeQkqUdXRAvY4u
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
language: python

python:
- "3.6"

#command to install dependencies
- "3.6.5"
install:
- "pip install -r requirements.txt"


# command to run tests
- pip install -r requirements.txt
#Specify what command to run test
script:
- nosetests --with-coverage --cover-package=APP

- pytest --cov
- coverage
- coverage3 report
- coveralls
after_success:
- coveralls
- coveralls

1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn run:app
Empty file added api/.coveralls.yml
Empty file.
1 change: 0 additions & 1 deletion procfile

This file was deleted.