Skip to content

Commit 84d973c

Browse files
authored
Merge pull request #199 from cclauss/patch-1
Travis CI: Add Python 3.7, 3.8 and more flake8 tests
2 parents 104d781 + 8847a82 commit 84d973c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
language: python
22
python:
33
- "2.7"
4-
- "3.4"
54
- "3.5"
65
- "3.6"
6+
- "3.7"
7+
- "3.8"
78
before_script:
89
# 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+
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
1011
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
1112
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
1213
# command to run tests
1314
script: coverage run --branch --source=libmodernize setup.py test
1415
# Ensure dependencies are installed
1516
install:
1617
- pip install .
17-
- pip install 'coveralls==0.4.2'
18+
- pip install 'coveralls==1.8.2'
1819
- pip install flake8
19-
- pip install 'six >= 1.9.0'
20+
- pip install 'six >= 1.13.0'
2021
after_success:
2122
coveralls
2223
sudo: false

0 commit comments

Comments
 (0)