mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
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:
parent
59f36e1a87
commit
74c4791440
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user