Skip to content

Commit 5174a26

Browse files
rpkilbycarltongibson
authored andcommitted
Simplify job matrix on Travis (#6174)
* Move to explicit Travis matrix * Cleanup Python 3.6 matrix
1 parent ed6340e commit 5174a26

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

.travis.yml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
language: python
22
cache: pip
33

4-
python:
5-
- "2.7"
6-
- "3.4"
7-
- "3.5"
8-
94
sudo: false
105

11-
env:
12-
- DJANGO=1.11
13-
- DJANGO=2.0
14-
- DJANGO=2.1
15-
- DJANGO=master
16-
176
matrix:
187
fast_finish: true
198
include:
20-
- { python: "3.6", env: DJANGO=master }
9+
- { python: "2.7", env: DJANGO=1.11 }
10+
11+
- { python: "3.4", env: DJANGO=1.11 }
12+
- { python: "3.4", env: DJANGO=2.0 }
13+
14+
- { python: "3.5", env: DJANGO=1.11 }
15+
- { python: "3.5", env: DJANGO=2.0 }
16+
- { python: "3.5", env: DJANGO=2.1 }
17+
- { python: "3.5", env: DJANGO=master }
18+
2119
- { python: "3.6", env: DJANGO=1.11 }
2220
- { python: "3.6", env: DJANGO=2.0 }
2321
- { python: "3.6", env: DJANGO=2.1 }
22+
- { python: "3.6", env: DJANGO=master }
2423

2524
- { python: "3.7", env: DJANGO=2.0, dist: xenial, sudo: true }
2625
- { python: "3.7", env: DJANGO=2.1, dist: xenial, sudo: true }
@@ -38,13 +37,6 @@ matrix:
3837
- tox --installpkg ./dist/djangorestframework-*.whl
3938
- tox # test sdist
4039

41-
exclude:
42-
- { python: "2.7", env: DJANGO=master }
43-
- { python: "2.7", env: DJANGO=2.0 }
44-
- { python: "2.7", env: DJANGO=2.1 }
45-
- { python: "3.4", env: DJANGO=master }
46-
- { python: "3.4", env: DJANGO=2.1 }
47-
4840
allow_failures:
4941
- env: DJANGO=master
5042

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy