Skip to content

Commit

Permalink
Merge pull request #5 from bmsdave/local_master
Browse files Browse the repository at this point in the history
add travis
  • Loading branch information
bmsdave authored Oct 18, 2019
2 parents 180f017 + dad705d commit 845d137
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
group: travis_latest
language: python
cache: pip
python:
- 2.7
- 3.7
install:
# - pip install -r requirements.txt
- pip install flake8
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- true # add other tests here
notifications:
on_success: change
on_failure: change # `always` will be the setting once code changes slow down

0 comments on commit 845d137

Please sign in to comment.