-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
54 lines (54 loc) · 1.5 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
dist: xenial
language: python
install:
- pip install $DJANGO
- pip install coveralls
- pip install --upgrade -r dev-requirements.txt
script:
- inv test
after_success:
- coveralls
matrix:
include:
- python: "2.7"
name: 'Linter (Python 2.7)'
install:
- pip install --upgrade -r dev-requirements.txt
script: flake8 sudo tests *.py
- python: "3.7"
name: 'Linter (Python 3.7)'
install:
- pip install --upgrade -r dev-requirements.txt
script: flake8 sudo tests *.py
- python: "3.7"
name: 'black'
install:
- pip install black==19.10b0
script: black --check sudo tests *.py
- python: "2.7"
name: "Python 2.7, Django 1.9"
env: DJANGO="Django>=1.9,<1.10"
- python: "2.7"
name: "Python 2.7, Django 1.10"
env: DJANGO="Django>=1.10,<1.11"
- python: "2.7"
name: "Python 2.7, Django 1.11"
env: DJANGO="Django>=1.11,<1.12"
- python: "3.6"
name: "Python 3.6, Django 1.9"
env: DJANGO="Django>=1.9,<1.10"
- python: "3.6"
name: "Python 3.6, Django 1.10"
env: DJANGO="Django>=1.10,<1.11"
- python: "3.6"
name: "Python 3.6, Django 1.11"
env: DJANGO="Django>=1.11,<1.12"
- python: "3.7"
name: "Python 3.7, Django 1.9"
env: DJANGO="Django>=1.9,<1.10"
- python: "3.7"
name: "Python 3.7, Django 1.10"
env: DJANGO="Django>=1.10,<1.11"
- python: "3.7"
name: "Python 3.7, Django 1.11"
env: DJANGO="Django>=1.11,<1.12"