Skip to content

Instantly share code, notes, and snippets.

@dyve
Created September 3, 2014 09:31
Show Gist options
  • Save dyve/d79e5cd4f81bb2675181 to your computer and use it in GitHub Desktop.
Save dyve/d79e5cd4f81bb2675181 to your computer and use it in GitHub Desktop.
Travis CI config that needs fixing
# Python versions for matrix
language: python
python:
- "2.7"
- "2.6"
- "3.2"
- "3.3"
- "3.4"
# Django versions for matrix
env:
- DJANGO_VERSION=1.4.15
- DJANGO_VERSION=1.5.10
- DJANGO_VERSION=1.6.7
- DJANGO_VERSION=1.7.0
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors --quiet
- pip install coveralls
# Command to run tests, e.g. python setup.py test
script:
- coverage run --source=bootstrap3 manage.py test
# Support Python3 only with Django 1.6+
# Support Django 1.7+ only with Python 2.7+
matrix:
exclude:
- python: "3.2"
env: DJANGO_VERSION=1.4.15
- python: "3.3"
env: DJANGO_VERSION=1.4.15
- python: "3.4"
env: DJANGO_VERSION=1.4.15
- python: "3.2"
env: DJANGO_VERSION=1.5.10
- python: "3.3"
env: DJANGO_VERSION=1.5.10
- python: "3.4"
env: DJANGO_VERSION=1.5.10
- python: "2.6"
env: DJANGO_VERSION=1.7.0
# Report to coveralls
after_success:
- coveralls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment