forked from django-mptt/django-mptt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 1.16 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
sudo: false
language: python
cache: pip
git:
depth: 1
python:
- "3.6"
- "3.5"
- "3.4"
- "3.3"
- "2.7"
env:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.11,<2.0"
- DJANGO="Django>=2.0,<2.1"
- DJANGO="https://github.com/django/django/archive/master.tar.gz"
matrix:
exclude:
- env: DJANGO="Django>=1.8,<1.9"
python: "3.5"
- env: DJANGO="Django>=1.11,<2.0"
python: "3.3"
- env: DJANGO="Django>=2.0,<2.1"
python: "2.7"
- env: DJANGO="Django>=2.0,<2.1"
python: "3.3"
- env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
python: "2.7"
- env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
python: "3.3"
- env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
python: "3.4"
allow_failures:
- env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
before_install: pip install --upgrade pip
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install $DJANGO mock-django==0.6.9 django-js-asset
# command to run tests, e.g. python setup.py test
script: cd tests/ && ./runtests.sh