.travis.yml 457 Bytes
language: python
python:
    - "2.6"
    - "2.7"
    - "3.2"
    - "3.3"
env:
    - DJANGO_PACKAGE="Django>=1.5,<1.6"
    - DJANGO_PACKAGE="Django>=1.6,<1.7"
    - DJANGO_PACKAGE="Django>=1.7,<1.8"

matrix:
  exclude:
  - python: "2.6"
    env: DJANGO_PACKAGE="Django>=1.7,<1.8"

install:
    - pip install $DJANGO_PACKAGE --use-mirrors
    - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install --use-mirrors unittest2; fi
script: python setup.py test