-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
27 lines (21 loc) · 977 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
language: python
services:
- postgresql
dist: xenial
matrix:
include:
- { 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.0,<2.1' 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.0,<2.1' OSCAR='django-oscar>1.6,<1.7'"}
- { python: "3.7", env: "DJANGO='Django>=2.1,<2.2' OSCAR='django-oscar>1.6,<1.7'"}
install:
- pip install $OSCAR $DJANGO psycopg2-binary
- pip freeze
- make install
script:
- make lint
- DJANGO_SETTINGS_MODULE=sandbox.settings.postgresql make test