-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
50 lines (50 loc) · 1.26 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
dist: xenial
language: python
os: linux
# cache: pip
#
# Matrix composition:
# Django LTS versions: All supported Python releases
# Other versions and master branch: The newest possible Python release
python:
- 3.7
jobs:
fast_finish: true
include:
- python: 3.7
env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
- python: 3.7
env: REQ="Django>=3.0,<3.1"
- python: 3.6
env: REQ="Django>=3.0,<3.1"
- python: 3.7
env: REQ="Django>=2.2,<3.0"
- python: 3.6
env: REQ="Django>=2.2,<3.0"
- python: 3.5
env: REQ="Django>=2.2,<3.0"
- python: 3.7
env: REQ="Django>=2.1,<2.2"
- python: 3.7
env: REQ="Django>=2.0,<2.1"
- python: 3.7
env: REQ="Django>=1.11,<2.0"
- python: 3.6
env: REQ="Django>=1.11,<2.0"
- python: 3.5
env: REQ="Django>=1.11,<2.0"
- python: 2.7
env: REQ="Django>=1.11,<2.0"
- python: 3.7
env: REQ="flake8"
install: skip
script:
- pip install flake8
- flake8 .
allow_failures:
- env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
install:
- pip install -U pip wheel
- pip install $REQ six
- python setup.py install
script: cd tests && ./manage.py test -v2 testapp && cd ..