Run tests on multiple Django versions

- Run tests on Django 1.7, 1.8 and 1.9.

- Import of a test case fails on 3.3 and this version of Python is not
  available on Debian anymore, not even Jessie.
This commit is contained in:
Sunil Mohan Adapa 2015-12-04 10:25:54 +05:30 committed by James Valleroy
parent 59f36e1a87
commit 74c4791440

View File

@ -2,9 +2,13 @@
language: python
python:
- "3.3"
- "3.4"
env:
- DJANGO_VERSION=">=1.7.0,<1.8.0"
- DJANGO_VERSION=">=1.8.0,<1.9.0"
- DJANGO_VERSION=">=1.9.0"
# Debian packages required
before_install:
- sudo apt-get update -qq
@ -12,6 +16,7 @@ before_install:
# Command to install dependencies
install:
- pip install Django$DJANGO_VERSION
- pip install coverage==3.7
- pip install "pgi>=0.0.10.1"
- pip install -r requirements.txt