Skip to content

Commit

Permalink
Manually define travis matrix.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
waylan committed Sep 7, 2017
1 parent cc8ef7f commit 576e15e
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 576e15e

Please sign in to comment.