language: python

python:
  - 2.7

env:
  - DJANGO=1.4
  - DJANGO=1.5
  - DJANGO=1.6
  - DJANGO=1.7
  - DJANGO=1.8
  - DJANGO=master

matrix:
  include:
    - python: 2.6
      env: DJANGO=1.4
    - python: 2.6
      env: DJANGO=1.5
    - python: 2.6
      env: DJANGO=1.6
  allow_failures:
    - env: DJANGO=1.5
    - env: DJANGO=1.6
    - env: DJANGO=1.7
    - env: DJANGO=1.8
    - env: DJANGO=master

install:
  pip install tox coveralls

script:
  tox -e `python -c 'import sys,os;print("py%d%d-"%sys.version_info[0:2]+os.environ["DJANGO"])'`

after_success: coveralls

language: python

python:
  - 2.7

env:
  - DJANGO=1.4
  - DJANGO=1.5
  - DJANGO=1.6
  - DJANGO=1.7
  - DJANGO=1.8
  - DJANGO=master

matrix:
  include:
    - python: 2.6
      env: DJANGO=1.4
    - python: 2.6
      env: DJANGO=1.5
    - python: 2.6
      env: DJANGO=1.6
  allow_failures:
    - env: DJANGO=1.5
    - env: DJANGO=1.6
    - env: DJANGO=1.7
    - env: DJANGO=1.8
    - env: DJANGO=master

install:
  pip install tox coveralls argparse

script:
  tox -e `python -c 'import sys,os;print("py%d%d-"%sys.version_info[0:2]+os.environ["DJANGO"])'`

after_success: coveralls

Make sure to install argparse for Python 2.6 support.
Make sure to install argparse for Python 2.6 support.
