Skip to content

Commit b0327d7

Browse files
author
cclauss
authored
Add flake8 to testing
Python 3.3 goes [EOL](https://docs.python.org/devguide/index.html#branchstatus) in a few weeks so drop it from testing and add Python 3.6.
1 parent f8e026a commit b0327d7

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ language: python
22
python:
33
- 2.6
44
- 2.7
5-
- 3.2
6-
- 3.3
5+
- 3.4
6+
- 3.6
77
- pypy
88
install:
99
- python setup.py develop
10-
- pip install coveralls
10+
- pip install coveralls hacking
1111
- mkdir local_cache
12+
before_script:
13+
# stop the build if there are Python syntax errors or undefined names
14+
- time flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
15+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
16+
- time flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
1217
script:
1318
- SC2READER_CACHE_DIR=local_cache coverage run --source=sc2reader test_replays/test_all.py
1419
- SC2READER_CACHE_DIR=local_cache coverage run --source=sc2reader --append test_s2gs/test_all.py

0 commit comments

Comments
 (0)