-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
58 lines (58 loc) · 1.23 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
language: python
os: linux
dist: xenial
services:
- postgresql
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
env:
- DJANGO='django>=1.11,<2'
- DJANGO='django>=2,<2.1'
- DJANGO='django>=2.1,<2.2'
- DJANGO='django>=2.2,<3'
- DJANGO='django>=3<3.1'
- DJANGO='--pre django'
jobs:
exclude:
- python: "2.7"
env: DJANGO='--pre django'
- python: "2.7"
env: DJANGO='django>=3<3.1'
- python: "2.7"
env: DJANGO='django>=2.2,<3'
- python: "2.7"
env: DJANGO='django>=2.1,<2.2'
- python: "2.7"
env: DJANGO='django>=2,<2.1'
- python: "3.4"
env: DJANGO='--pre django'
- python: "3.4"
env: DJANGO='django>=3<3.1'
- python: "3.4"
env: DJANGO='django>=2.2,<3'
- python: "3.4"
env: DJANGO='django>=2.1,<2.2'
- python: "3.5"
env: DJANGO='django>=3<3.1'
- python: "3.7"
env: DJANGO='django>=1.11,<2'
allow_failures:
- env: DJANGO='--pre django'
fast_finish: true
before_script:
- psql -c 'CREATE DATABASE orderable' -U postgres;
install:
- pip install $DJANGO
- pip install -r requirements.txt
- pip install -e .
script: "make test"
notifications:
email: false
before_install:
pip install codecov
after_success:
codecov