forked from feincms/feincms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (64 loc) · 1.89 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
59
60
61
62
63
64
dist: xenial
language: python
sudo: false
cache: pip
python:
- "3.8"
env:
- REQ=""
matrix:
include:
- python: "2.7"
env: REQ="Django>=1.8,<1.9 django-mptt<0.8"
- python: "2.7"
env: REQ="Django>=1.9,<1.10 django-mptt<0.9"
- python: "2.7"
env: REQ="Django>=1.10,<1.11 django-mptt<0.9"
- python: "2.7"
env: REQ="Django>=1.11,<2.0 django-mptt"
- python: "3.4"
env: REQ="Django>=1.11,<2.0 django-mptt"
- python: "3.4"
env: REQ="Django>=2.0,<2.1 django-mptt"
- python: "3.5"
env: REQ="Django>=1.11,<2.0 django-mptt"
- python: "3.5"
env: REQ="Django>=2.0,<2.1 django-mptt"
- python: "3.5"
env: REQ="Django>=2.1,<2.2 django-mptt"
- python: "3.6"
env: REQ="Django>=1.11,<2.0 django-mptt"
- python: "3.6"
env: REQ="Django>=2.0,<2.1 django-mptt"
- python: "3.6"
env: REQ="Django>=2.1,<2.2 django-mptt"
- python: "3.6"
env: REQ="Django>=2.2,<3.0 django-mptt"
- python: "3.7"
env: REQ="Django>=2.2,<3.0 django-mptt"
- python: "3.6"
env: REQ="Django>=3.0,<3.1 django-mptt"
- python: "3.7"
env: REQ="Django>=3.0,<3.1 django-mptt"
- python: "3.6"
env: REQ="Django>=3.1,<3.2 django-mptt"
- python: "3.7"
env: REQ="Django>=3.1,<3.2 django-mptt"
- python: "3.8"
env: REQ="Django>=3.1,<3.2 django-mptt"
- python: "3.8"
env: REQ="https://github.com/django/django/archive/master.zip django-mptt"
- python: 3.8
env: REQ="black flake8"
install:
- pip install black flake8
script:
- flake8 .
- black --check feincms tests
allow_failures:
- env: REQ="https://github.com/django/django/archive/master.zip django-mptt"
install:
- pip install -U pip wheel setuptools
- pip install $REQ Pillow flake8 pytz six
- python setup.py install
script: "cd tests && ./manage.py test testapp && cd .. && flake8 ."