forked from django-oscar/django-oscar-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (51 loc) · 1.46 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: python
os: linux
dist: bionic
stages:
- lint
- test
jobs:
fast_finish: true
include:
- stage: lint
python: 3.7
env: "DJANGO='Django>=2.2,<3' OSCAR='django-oscar>=2.0,<2.1'"
script: make lint
- stage: test
python: 3.5
env: "DJANGO='Django>=2.1,<2.2' OSCAR='django-oscar>=2.0,<2.1'"
script: make coverage
- stage: test
python: 3.6
env: "DJANGO='Django>=2.1,<2.2' OSCAR='django-oscar>=2.0,<2.1'"
script: make coverage
- stage: test
python: 3.7
env: "DJANGO='Django>=2.1,<2.2' OSCAR='django-oscar>=2.0,<2.1'"
script: make coverage
- stage: test
python: 3.5
env: "DJANGO='Django>=2.2,<3' OSCAR='django-oscar>=2.0,<2.1'"
script: make coverage
- stage: test
python: 3.6
env: "DJANGO='Django>=2.2,<3' OSCAR='django-oscar>=2.0,<2.1'"
script: make coverage
- stage: test
python: 3.7
env: "DJANGO='Django>=2.2,<3' OSCAR='django-oscar>=2.0,<2.1'"
script: make coverage
- stage: test
python: 3.7
env: "DJANGO='Django>=2.2,<3' OSCAR='https://github.com/django-oscar/django-oscar/archive/master.tar.gz'"
script: make coverage
allow_failures:
- env: "DJANGO='Django>=2.2,<3' OSCAR='https://github.com/django-oscar/django-oscar/archive/master.tar.gz'"
before_install:
- pip install codecov
install:
- pip install $OSCAR $DJANGO
- make install
- pip freeze
after_success:
- codecov