Skip to content

Commit 8f2451b

Browse files
authored
Merge pull request pallets-eco#1428 from pawl/add_flake8
add flake8 test to travis.yml
2 parents d57048b + dcafaa9 commit 8f2451b

File tree

1 file changed

+29
-12
lines changed

1 file changed

+29
-12
lines changed

.travis.yml

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,33 @@
11
sudo: false
22
language: python
3-
python:
4-
- "2.6"
5-
- "2.7"
6-
- "3.3"
7-
- "3.4"
8-
- "3.5"
9-
- "3.6"
10-
11-
env:
12-
- WTFORMS_VERSION=1
13-
- WTFORMS_VERSION=2
3+
matrix:
4+
include:
5+
- python: 2.6
6+
env: TOX_ENV=py26-WTForms1
7+
- python: 2.6
8+
env: TOX_ENV=py26-WTForms2
9+
- python: 2.7
10+
env: TOX_ENV=py27-WTForms1
11+
- python: 2.7
12+
env: TOX_ENV=py27-WTForms2
13+
- python: 2.7
14+
env: TOX_ENV=flake8
15+
- python: 3.3
16+
env: TOX_ENV=py33-WTForms1
17+
- python: 3.3
18+
env: TOX_ENV=py33-WTForms2
19+
- python: 3.4
20+
env: TOX_ENV=py34-WTForms1
21+
- python: 3.4
22+
env: TOX_ENV=py34-WTForms2
23+
- python: 3.5
24+
env: TOX_ENV=py35-WTForms1
25+
- python: 3.5
26+
env: TOX_ENV=py35-WTForms2
27+
- python: 3.6
28+
env: TOX_ENV=py36-WTForms1
29+
- python: 3.6
30+
env: TOX_ENV=py36-WTForms2
1431

1532
addons:
1633
postgresql: "9.4"
@@ -27,7 +44,7 @@ before_script:
2744
install:
2845
- pip install tox
2946

30-
script: tox -e py-WTForms$WTFORMS_VERSION
47+
script: tox -e $TOX_ENV
3148

3249
after_success:
3350
- coveralls

0 commit comments

Comments
 (0)