Correct travis to stick python version to tox envs

This commit is contained in:
Valentin Samir 2016-07-23 19:02:50 +02:00
parent df1d57bca1
commit d6b91033d4

View File

@ -1,21 +1,28 @@
language: python language: python
python: matrix:
- "2.7" include:
- "3.4" - python: "2.7"
- "3.5" env: TOX_ENV=coverage
env: - python: "2.7"
matrix: env: TOX_ENV=flake8
- TOX_ENV=coverage - python: "2.7"
- TOX_ENV=flake8 env: TOX_ENV=check_rst
- TOX_ENV=check_rst - python: "2.7"
- TOX_ENV=py27-django17 env: TOX_ENV=py27-django17
- TOX_ENV=py27-django18 - python: "2.7"
- TOX_ENV=py27-django19 env: TOX_ENV=py27-django18
- TOX_ENV=py34-django17 - python: "2.7"
- TOX_ENV=py34-django18 env: TOX_ENV=py27-django19
- TOX_ENV=py34-django19 - python: "3.4"
- TOX_ENV=py35-django18 env: TOX_ENV=py34-django17
- TOX_ENV=py35-django19 - 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: cache:
directories: directories:
- $HOME/.cache/pip/http/ - $HOME/.cache/pip/http/