forked from TyMaszWeb/django-cookie-law
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (44 loc) · 943 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
sudo: false
dist: trusty
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
env:
global:
- DJANGO_SETTINGS_MODULE=settings
matrix:
- DJANGO="Django<1.9"
- DJANGO="Django<1.10"
- DJANGO="Django<1.11"
- DJANGO="Django<1.12"
matrix:
exclude:
# See: https://docs.djangoproject.com/en/1.11/faq/install/#what-python-version-can-i-use-with-django
- python: "3.3"
env: DJANGO="Django<1.10"
- python: "3.3"
env: DJANGO="Django<1.11"
- python: "3.3"
env: DJANGO="Django<1.12"
- python: "3.6"
env: DJANGO="Django<1.9"
- python: "3.6"
env: DJANGO="Django<1.10"
- python: "3.6"
env: DJANGO="Django<1.11"
allow_failures:
- python: "3.3"
env: DJANGO="Django<1.9"
cache:
directories:
- $HOME/.cache/pip
install:
- pip install --upgrade pip
- pip install $DJANGO
- python setup.py develop
script:
- python setup.py test