From d6b91033d44ce6ae4bb52224d9710a215b417f9d Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Sat, 23 Jul 2016 19:02:50 +0200 Subject: [PATCH] Correct travis to stick python version to tox envs --- .travis.yml | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d832eb..e7583b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,28 @@ language: python -python: - - "2.7" - - "3.4" - - "3.5" -env: - matrix: - - TOX_ENV=coverage - - TOX_ENV=flake8 - - TOX_ENV=check_rst - - TOX_ENV=py27-django17 - - TOX_ENV=py27-django18 - - TOX_ENV=py27-django19 - - TOX_ENV=py34-django17 - - TOX_ENV=py34-django18 - - TOX_ENV=py34-django19 - - TOX_ENV=py35-django18 - - TOX_ENV=py35-django19 +matrix: + include: + - python: "2.7" + env: TOX_ENV=coverage + - python: "2.7" + env: TOX_ENV=flake8 + - python: "2.7" + env: TOX_ENV=check_rst + - python: "2.7" + env: TOX_ENV=py27-django17 + - python: "2.7" + env: TOX_ENV=py27-django18 + - python: "2.7" + env: TOX_ENV=py27-django19 + - python: "3.4" + env: TOX_ENV=py34-django17 + - python: "3.4" + env: TOX_ENV=py34-django18 + - python: "3.4" + env: TOX_ENV=py34-django19 + - python: "3.5" + env: TOX_ENV=py35-django18 + - python: "3.5" + env: TOX_ENV=py35-django19 cache: directories: - $HOME/.cache/pip/http/