From 74c4791440a488e74f32549197fed05e8ed6345a Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 4 Dec 2015 10:25:54 +0530 Subject: [PATCH] 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. --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c87d32185..65cf9d827 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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