From 5174a26ec9d50c7b1e934ee2613de4ae2e2c8c6a Mon Sep 17 00:00:00 2001 From: Ryan P Kilby Date: Mon, 17 Sep 2018 01:41:55 -0700 Subject: [PATCH] Simplify job matrix on Travis (#6174) * Move to explicit Travis matrix * Cleanup Python 3.6 matrix --- .travis.yml | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2620e079d7..a0d72e3d6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,26 +1,25 @@ language: python cache: pip -python: - - "2.7" - - "3.4" - - "3.5" - sudo: false -env: - - DJANGO=1.11 - - DJANGO=2.0 - - DJANGO=2.1 - - DJANGO=master - matrix: fast_finish: true include: - - { python: "3.6", env: DJANGO=master } + - { python: "2.7", env: DJANGO=1.11 } + + - { python: "3.4", env: DJANGO=1.11 } + - { python: "3.4", env: DJANGO=2.0 } + + - { python: "3.5", env: DJANGO=1.11 } + - { python: "3.5", env: DJANGO=2.0 } + - { python: "3.5", env: DJANGO=2.1 } + - { python: "3.5", env: DJANGO=master } + - { python: "3.6", env: DJANGO=1.11 } - { python: "3.6", env: DJANGO=2.0 } - { python: "3.6", env: DJANGO=2.1 } + - { python: "3.6", env: DJANGO=master } - { python: "3.7", env: DJANGO=2.0, dist: xenial, sudo: true } - { python: "3.7", env: DJANGO=2.1, dist: xenial, sudo: true } @@ -38,13 +37,6 @@ matrix: - tox --installpkg ./dist/djangorestframework-*.whl - tox # test sdist - exclude: - - { python: "2.7", env: DJANGO=master } - - { python: "2.7", env: DJANGO=2.0 } - - { python: "2.7", env: DJANGO=2.1 } - - { python: "3.4", env: DJANGO=master } - - { python: "3.4", env: DJANGO=2.1 } - allow_failures: - env: DJANGO=master