forked from andreynovikov/django-daterangefilter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (31 loc) · 1.12 KB
/
.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
sudo: false
language: python
cache: pip
matrix:
fast_finish: true
include:
- { python: "2.7", env: DJANGO_VERSION="1.9.*" }
- { python: "2.7", env: DJANGO_VERSION="1.10.*" }
- { python: "2.7", env: DJANGO_VERSION="1.11.*" }
- { python: "3.4", env: DJANGO_VERSION="1.11.*" }
- { python: "3.4", env: DJANGO_VERSION="2.0.*" }
- { python: "3.5", env: DJANGO_VERSION="1.11.*" }
- { python: "3.5", env: DJANGO_VERSION="2.0.*" }
- { python: "3.5", env: DJANGO_VERSION="2.1.*" }
- { python: "3.6", env: DJANGO_VERSION="1.11.*" }
- { python: "3.6", env: DJANGO_VERSION="2.0.*" }
- { python: "3.6", env: DJANGO_VERSION="2.1.*" }
- { python: "3.7", env: DJANGO_VERSION="2.0.*", dist: xenial, sudo: true }
- { python: "3.7", env: DJANGO_VERSION="2.1.*", dist: xenial, sudo: true }
install:
- pip install Django==${DJANGO_VERSION}
- pip install coverage
- pip install codacy-coverage
branches:
only:
- master
script:
- coverage run --source=daterangefilter runtests.py
after_success:
- coverage xml
- python-codacy-coverage -r coverage.xml