forked from korfuri/django-prometheus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (41 loc) · 895 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
language: python
python:
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO_VERSION=1.9
- DJANGO_VERSION=1.8
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.6
- DJANGO_VERSION=1.5
- DJANGO_VERSION=1.4
services:
- mysql
- postgresql
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.4
- python: "3.3"
env: DJANGO_VERSION=1.9
- python: "3.4"
env: DJANGO_VERSION=1.4
- python: "3.5"
env: DJANGO_VERSION=1.4
- python: "3.5"
env: DJANGO_VERSION=1.5
- python: "3.5"
env: DJANGO_VERSION=1.6
- python: "3.5"
env: DJANGO_VERSION=1.7
install:
- pip install -r requirements.txt
- pip install -q Django==$DJANGO_VERSION
- mysql -e 'create database django_prometheus_1;'
before_script:
- pep8 .
script:
- python setup.py test
- (cd django_prometheus/tests/end2end; PYTHONPATH=../../.. python manage.py test)