Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ python:
- "3.6"
install:
- pip install -r requirements.txt
- pip install codeclimate-test-reporter
- pip install codeclimate-test-reporter flake8
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --exclude=examples --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exclude=examples --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- python -m tests
- coverage run -m tests
Expand Down