Skip to content

Commit e67605f

Browse files
authored
Make Travis CI include/exclude faster to read
1 parent 9ec81e3 commit e67605f

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.travis.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,15 @@ env:
1616
matrix:
1717
fast_finish: true
1818
include:
19-
- python: "3.6"
20-
env: DJANGO=master
21-
- python: "3.6"
22-
env: DJANGO=1.11
23-
- python: "3.6"
24-
env: DJANGO=2.0
25-
- python: "2.7"
26-
env: TOXENV="lint"
27-
- python: "2.7"
28-
env: TOXENV="docs"
19+
- { python: "3.6", env: DJANGO=master }
20+
- { python: "3.6", env: DJANGO=1.11 }
21+
- { python: "3.6", env: DJANGO=2.0 }
22+
- { python: "2.7", env: TOXENV=lint }
23+
- { python: "2.7", env: TOXENV=docs }
2924
exclude:
30-
- python: "2.7"
31-
env: DJANGO=master
32-
- python: "2.7"
33-
env: DJANGO=2.0
34-
- python: "3.4"
35-
env: DJANGO=master
25+
- { python: "2.7", env: DJANGO=master }
26+
- { python: "2.7", env: DJANGO=2.0 }
27+
- { python: "3.4", env: DJANGO=master }
3628

3729
allow_failures:
3830
- env: DJANGO=master

0 commit comments

Comments
 (0)