Skip to content

Commit ceab94d

Browse files
committed
[.travis.yml] add flake8 linting of source files
1 parent a0a8d1a commit ceab94d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.travis.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,24 @@ sudo: false
44
language: python
55
matrix:
66
include:
7+
- python: 3.7
8+
dist: xenial
9+
env: TOX_ENV=lint
10+
install: pip install flake8
11+
script: flake8 --ignore=E501,W503 lib/fontline/*.py
712
- python: 3.5
813
env: TOX_ENV=py35
14+
install: pip install tox
15+
script: tox -e $TOX_ENV
916
- python: 3.6
1017
env: TOX_ENV=py36
18+
install: pip install tox
19+
script: tox -e $TOX_ENV
1120
- python: 3.7
1221
env: TOX_ENV=py37
22+
install: pip install tox
1323
dist: xenial
14-
15-
script: tox -e $TOX_ENV
16-
17-
install:
18-
- pip install tox
24+
script: tox -e $TOX_ENV
1925

2026
notifications:
2127
email: false

0 commit comments

Comments
 (0)