language: python

python:
  - 2.6
  - 2.7
  
env:
  - DJANGO="django>=1.4,<1.5"
  - DJANGO="django>=1.5,<1.6"
  - DJANGO="django>=1.6,<1.7"
  - DJANGO="https://github.com/django/django/archive/master.tar.gz"

matrix:
  exclude:
    - python: 2.6
      env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
  allow_failures:
    - env: DJANGO="https://github.com/django/django/archive/master.tar.gz"

install:
  - pip install $DJANGO selenium -q --use-mirrors

before_script:
  - "export DISPLAY=:99.0"
  - "DJANGO_SELENIUM_TESTS=1"
  - "sh -e /etc/init.d/xvfb start"

script:
  - django-admin.py test admin_enhancer --settings=test_settings --pythonpath=`pwd`

language: python

python:
  - 2.6
  - 2.7
  
env:
  - DJANGO="django>=1.4,<1.5"
  - DJANGO="django>=1.5,<1.6"
  - DJANGO="django>=1.6,<1.7"
  - DJANGO="https://github.com/django/django/archive/master.tar.gz"

matrix:
  exclude:
    - python: 2.6
      env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
  allow_failures:
    - env: DJANGO="https://github.com/django/django/archive/master.tar.gz"

install:
  - pip install $DJANGO selenium -q --use-mirrors

before_script:
  - "export DISPLAY=:99.0"
  - "export DJANGO_SELENIUM_TESTS=1"
  - "sh -e /etc/init.d/xvfb start"

script:
  - django-admin.py test admin_enhancer --settings=test_settings --pythonpath=`pwd` -v2

Make sure to export the selenium tests flag correctly.
Make sure to export the selenium tests flag correctly.
