forked from feincms/feincms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
27 lines (27 loc) · 838 Bytes
/
.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
language: python
sudo: false
cache: pip
python:
- "2.7"
- "3.4"
- "3.5"
env:
- REQ="Django>=1.7,<1.8 django-mptt<0.8"
- REQ="Django>=1.8,<1.9 django-mptt<0.8"
- REQ="Django>=1.9,<1.10 django-mptt"
- REQ="Django>=1.10,<1.11 django-mptt"
- REQ="Django>=1.11,<2.0 django-mptt"
- REQ="https://github.com/django/django/archive/master.zip django-mptt"
matrix:
exclude:
- python: "3.5"
env: REQ="Django>=1.7,<1.8 django-mptt<0.8"
- python: "2.7"
env: REQ="https://github.com/django/django/archive/master.zip django-mptt"
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
- python setup.py install
script: "cd tests && ./manage.py test testapp && cd .. && flake8 ."