More Travis config changes to matrix.

master
Brandon Taylor 2014-09-12 09:09:31 -04:00
parent 99d53d06b9
commit b86bbec630
1 changed files with 15 additions and 6 deletions

View File

@ -6,9 +6,10 @@ python:
- "3.4" - "3.4"
env: env:
- DJANGO_VERSION=1.5.10 - DJANGO_VERSION=1.5.10 SAMPLE_PROJECT=sample_project
- DJANGO_VERSION=1.6.7 - DJANGO_VERSION=1.6.7 SAMPLE_PROJECT=sample_project
- DJANGO_VERSION=1.7 - DJANGO_VERSION=1.7 SAMPLE_PROJECT=sample_project
- DJANGO_VERSION=1.7 SAMPLE_PROJECT=python3_sample_project
branches: branches:
only: only:
@ -18,7 +19,11 @@ matrix:
exclude: exclude:
- -
python: "2.6" python: "2.6"
env: DJANGO_VERSION=1.5.10 env: DJANGO_VERSION=1.6.7
-
python: "2.6"
env: DJANGO_VERSION=1.7
- -
python: "3.4" python: "3.4"
@ -28,10 +33,14 @@ matrix:
python: "3.4" python: "3.4"
env: DJANGO_VERSION=1.6.7 env: DJANGO_VERSION=1.6.7
-
python: "3.4"
env: SAMPLE_PROJECT=sample_project
install: install:
- pip install south - pip install south
- pip install -q django==$DJANGO_VERSION - pip install django==$DJANGO_VERSION
script: script:
- cd sample_project - cd $SAMPLE_PROJECT
- python manage.py test - python manage.py test