-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
37 lines (32 loc) · 856 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
language: python
python:
- "3.5"
- "3.6"
- "3.7-dev"
env:
global:
- SECRET_KEY=superSecretKey
matrix:
- DJANGO_VERSION=1.10 DRF_VERSION=3.5
- DJANGO_VERSION=1.10 DRF_VERSION=3.6
- DJANGO_VERSION=1.10 DRF_VERSION=3.7
- DJANGO_VERSION=1.10 DRF_VERSION=3.8
- DJANGO_VERSION=1.11 DRF_VERSION=3.5
- DJANGO_VERSION=1.11 DRF_VERSION=3.6
- DJANGO_VERSION=1.11 DRF_VERSION=3.7
- DJANGO_VERSION=1.11 DRF_VERSION=3.8
- DJANGO_VERSION=2.0 DRF_VERSION=3.8
matrix:
allow_failures:
- python: "3.7-dev"
install:
- pip install -r requirements.txt
- yes | pip uninstall Django
- pip install Django==$DJANGO_VERSION
- pip install djangorestframework==$DRF_VERSION
- pip install black==18.6b1 || true
script:
- black --check . || true
- coverage run --source='.' manage.py test
after_success:
- coverage report