Skip to content

Commit 85819b5

Browse files
author
cclauss
authored
Create .travis.yml
1 parent 6b1d898 commit 85819b5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.travis.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: python
2+
cache: pip
3+
python:
4+
- 3.6
5+
install:
6+
- pip install flake8
7+
before_script:
8+
# stop the build if there are Python syntax errors or undefined names
9+
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
10+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
11+
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
12+
script:
13+
- true
14+
notifications:
15+
on_success: change
16+
on_failure: change # `always` will be the setting once code changes slow down

0 commit comments

Comments
 (0)