Skip to content

Commit 0c99b22

Browse files
authored
Merge pull request #25 from cclauss/patch-2
Add flake8 to the testing, Python 2.7.12 -> 2.7.13
2 parents 792fa79 + f1c400e commit 0c99b22

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
sudo: false
2+
dist: trusty
13
language: python
24
cache: pip
35
python:
46
- "2.7.10"
5-
- "2.7.12"
7+
- "2.7.13"
68
- "3.5"
79
- "3.6"
10+
before_install:
11+
- pip install flake8
12+
before_script:
13+
# stop the build if there are Python syntax errors or undefined names
14+
- flake8 . --count --select=E901,E999,F821,F822,F823 --statistics
15+
# exit-zero treates all errors as warnings. The GitHub editor is 127 chars wide
16+
- flake8 . --count --exit-zero --max-line-length=127 --statistics
817
install:
918
- python setup.py install
1019
- pip install pexpect

0 commit comments

Comments
 (0)