forked from django-oscar/django-oscar-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (26 loc) · 1.28 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
language: python
dist: xenial
matrix:
include:
- { python: "2.7", env: "DJANGO='Django>=1.11,<2.0' OSCAR='django-oscar>1.5,<1.6'" }
- { python: "2.7", env: "DJANGO='Django>=1.11,<2.0' OSCAR='django-oscar>1.6,<1.7'" }
- { python: "3.5", env: "DJANGO='Django>=1.11,<2.0' OSCAR='django-oscar>1.5,<1.6'" }
- { python: "3.5", env: "DJANGO='Django>=1.11,<2.0' OSCAR='django-oscar>1.6,<1.7'" }
- { python: "3.5", env: "DJANGO='Django>=2.1,<2.2' OSCAR='django-oscar>1.6,<1.7'" }
- { python: "3.6", env: "DJANGO='Django>=1.11,<2.0' OSCAR='django-oscar>1.5,<1.6'" }
- { python: "3.6", env: "DJANGO='Django>=1.11,<2.0' OSCAR='django-oscar>1.6,<1.7'" }
- { python: "3.6", env: "DJANGO='Django>=2.1,<2.2' OSCAR='django-oscar>1.6,<1.7'" }
- { python: "3.7", env: "DJANGO='Django>=1.11.17,<2.0' OSCAR='django-oscar>1.5,<1.6'" }
- { python: "3.7", env: "DJANGO='Django>=1.11.17,<2.0' OSCAR='django-oscar>1.6,<1.7'" }
- { python: "3.7", env: "DJANGO='Django>=2.1,<2.2' OSCAR='django-oscar>1.6,<1.7'"}
before_install:
- pip install codecov
install:
- pip install $OSCAR $DJANGO
- if ! [ ${DJANGO} == "Django>=1.11,<2.0" ]; then pip install "djangorestframework>=3.7"; fi
- make install
- pip freeze
script:
- make coverage
after_success:
- codecov