mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2025-02-17 05:18:31 +00:00
Merge pull request #88 from cclauss/patch-2
Remove the comma that is halting our tests
This commit is contained in:
commit
682ab32c3f
2 changed files with 9 additions and 9 deletions
16
.travis.yml
16
.travis.yml
|
@ -2,19 +2,19 @@ sudo: false
|
|||
dist: trusty
|
||||
language: python
|
||||
python:
|
||||
- "3.5.0"
|
||||
- "3.6.1"
|
||||
- "nightly" # currently points to 3.7-dev
|
||||
- 3.5 # currently Travis trusty default Python3 is 3.5.2
|
||||
#- 3.6.1
|
||||
#- "nightly" # currently points to 3.7-dev (3.7.0a0)
|
||||
install:
|
||||
- pip install flake8, pytest
|
||||
- pip install flake8 pytest
|
||||
before_script:
|
||||
# stop the build if there are Python syntax errors
|
||||
- flake8 . --count --select=E901,E999 --statistics
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
- flake8 . --count --select=E901,E999,F821,F822,F823 --statistics
|
||||
# exit-zero treates all errors as warnings. The GitHub editor is 127 chars wide
|
||||
- flake8 . --count --exit-zero --max-line-length=127 --statistics
|
||||
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
script:
|
||||
pytest --capture=sys
|
||||
# python unittest.py
|
||||
notifications:
|
||||
on_success: change
|
||||
on_failure: always
|
||||
on_failure: change # `always` will be the setting once code changes slow down
|
||||
|
|
|
@ -81,6 +81,6 @@ def main(argv):
|
|||
else:
|
||||
print("This module only takes one command line parameter.")
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(sys.argv)
|
||||
|
|
Loading…
Add table
Reference in a new issue