forked from django-oscar/django-oscar-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 836 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
# Use the newer container-based infrastructure
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
language: python
python:
- 2.7
- 3.5
- 3.6
env:
- DJANGO='Django<2.0' OSCAR='django-oscar<1.6'
- DJANGO='Django<2.0' OSCAR='django-oscar<1.7'
- DJANGO='Django<2.1' OSCAR='django-oscar<1.7'
- DJANGO='Django<2.2' OSCAR='django-oscar<1.7'
matrix:
exclude:
- python: 2.7
env: DJANGO='Django<2.1' OSCAR='django-oscar<1.7'
- python: 2.7
env: DJANGO='Django<2.2' OSCAR='django-oscar<1.7'
before_install:
- pip install codecov
install:
- pip install $OSCAR $DJANGO
- if ! [ ${DJANGO} == "Django<2.0" ]; then pip install "djangorestframework>=3.7"; fi
- pip freeze
- make install
script:
- make coverage
after_success:
- codecov