-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
54 lines (49 loc) · 1.38 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
language: python
cache: pip
dist: xenial
services:
- postgresql
install:
- pip install coverage tox tox-venv tox-travis flake8 psycopg2
before_script:
- psql template1 -c 'create extension hstore;'
script:
- coverage erase
- tox
- flake8 django_admin_hstore_widget/
after_success:
- coverage combine --append
- coverage report -m
- pip install codecov
- codecov
matrix:
fast_finish: true
include:
# PYTHON 3.9
- { python: "3.9", env: DJANGO=3.0 }
- { python: "3.9", env: DJANGO=4.0 }
# PYTHON 3.8
- { python: "3.8", env: DJANGO=3.0 }
- { python: "3.8", env: DJANGO=4.0 }
# PYTHON 3.7
- { python: "3.7", env: DJANGO=3.0 }
- { python: "3.7", env: DJANGO=2.2 }
- { python: "3.7", env: DJANGO=2.1 }
- { python: "3.7", env: DJANGO=2.0 }
- { python: "3.7", env: DJANGO=1.11 }
# PYTHON 3.6
- { python: "3.6", env: DJANGO=3.0 }
- { python: "3.6", env: DJANGO=2.2 }
- { python: "3.6", env: DJANGO=2.1 }
- { python: "3.6", env: DJANGO=2.0 }
- { python: "3.6", env: DJANGO=1.11 }
# PYTHON 3.5
- { python: "3.5", env: DJANGO=2.2 }
- { python: "3.5", env: DJANGO=2.1 }
- { python: "3.5", env: DJANGO=2.0 }
- { python: "3.5", env: DJANGO=1.11 }
# PYTHON 3.4
- { python: "3.4", env: DJANGO=2.0 }
- { python: "3.4", env: DJANGO=1.11 }
# PYTHON 2.7
- { python: "2.7", env: DJANGO=1.11 }