summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2017-09-07 14:03:01 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2017-09-07 14:15:13 -0400
commit576e15e7995cc58e95ec74aaa51818eb8c500a91 (patch)
tree1dfceb9dcb6b566d7977e84f6f25ed4d82ebda93 /.travis.yml
parentcc8ef7fc1b093d2a0905520f91ac47f51d12204e (diff)
downloadpython-markdown-576e15e7995cc58e95ec74aaa51818eb8c500a91.tar.gz
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files 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: