Clean travis configuration

This commit is contained in:
Iacopo Spalletti 2016-06-05 22:52:51 +02:00
parent a57adafb30
commit 7fc6a8876a
No known key found for this signature in database
GPG key ID: BDCBC2EB289F60C6

View file

@ -7,31 +7,22 @@ sudo: false
python:
- 3.5
- 3.4
- 3.3
- 2.7
- 2.6
env:
matrix:
- TOXENV='pep8'
- TOXENV='isort'
- DJANGO='django19' CMS='cms33'
- DJANGO='django19' CMS='cms32'
- DJANGO='django19' CMS='knocker'
- DJANGO='django18' CMS='cms33'
- DJANGO='django18' CMS='cms32'
- DJANGO='django18' CMS='cms31'
- DJANGO='django17' CMS='cms32'
- DJANGO='django17' CMS='cms31'
- DJANGO='django17' CMS='cms30'
- DJANGO='django16' CMS='cms32'
- DJANGO='django16' CMS='cms31'
- DJANGO='django16' CMS='cms30'
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then export PYVER=py26; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export PYVER=py33; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi"
- "if [[ ${DJANGO}z != 'z' ]]; then export TOXENV=$PYVER-$DJANGO-$CMS; fi"
@ -47,52 +38,14 @@ after_success:
matrix:
exclude:
- python: 2.6
env: TOXENV='pep8'
- python: 2.6
env: TOXENV='isort'
- python: 2.7
env: TOXENV='pep8'
- python: 2.7
env: TOXENV='isort'
- python: 3.3
env: TOXENV='pep8'
- python: 3.3
env: TOXENV='isort'
- python: 3.4
env: TOXENV='pep8'
- python: 3.4
env: TOXENV='isort'
- python: 2.6
env: DJANGO='django17' CMS='cms30'
- python: 2.6
env: DJANGO='django17' CMS='cms31'
- python: 2.6
env: DJANGO='django17' CMS='cms32'
- python: 2.6
env: DJANGO='django18' CMS='cms31'
- python: 2.6
env: DJANGO='django18' CMS='cms32'
- python: 2.6
env: DJANGO='django19' CMS='cms32'
- python: 2.6
env: DJANGO='django19' CMS='knocker'
- python: 3.3
env: DJANGO='django19' CMS='cms32'
- python: 3.3
env: DJANGO='django19' CMS='knocker'
- python: 3.5
env: DJANGO='django16' CMS='cms30'
- python: 3.5
env: DJANGO='django16' CMS='cms31'
- python: 3.5
env: DJANGO='django16' CMS='cms32'
- python: 3.5
env: DJANGO='django17' CMS='cms30'
- python: 3.5
env: DJANGO='django17' CMS='cms31'
- python: 3.5
env: DJANGO='django17' CMS='cms32'
cache: