From 576e15e7995cc58e95ec74aaa51818eb8c500a91 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 7 Sep 2017 14:03:01 -0400 Subject: Manually define travis matrix. Travis-CI no longer has all supported Python versions installed by default. Each version needs to be set via the `python` setting. However, we don't want a matrix where every Python version runs with every `TOXENV`. Therefore, we now manually define the matrix so that the Python version is properly matched with the TOXENV. --- .travis.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1badcef..4052559 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,17 @@ sudo: false language: python -env: - - TOXENV=py27 - - TOXENV=py33 - - TOXENV=py34 - - TOXENV=pypy - - TOXENV=flake8 - - TOXENV=checkspelling +matrix: + include: + - python: '2.7' + env: TOXENV=py27 + - python: '3.3' + env: TOXENV=py33 + - python: '3.4' + env: TOXENV=py34 + - python: 'pypy' + env: TOXENV=pypy + - env: TOXENV=flake8 + - env: TOXENV=checkspelling addons: apt: packages: -- cgit v1.2.3