forked from ui/django-post_office
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (46 loc) · 1.01 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
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
- DJANGO=1.4
- DJANGO=1.5
- DJANGO=1.6
- DJANGO=1.7
- DJANGO=1.8
- DJANGO=1.9
matrix:
exclude:
- python: "3.3"
env: DJANGO=1.4
- python: "3.4"
env: DJANGO=1.4
- python: "3.5"
env: DJANGO=1.4
- python: "3.5"
env: DJANGO=1.5
- python: "3.5"
env: DJANGO=1.6
- python: "3.5"
env: DJANGO=1.7
- python: "2.6"
env: DJANGO=1.7
- python: "2.6"
env: DJANGO=1.8
- python: "2.6"
env: DJANGO=1.9
- python: "3.3"
env: DJANGO=1.9
before_install:
# Workaround for a permissions issue with Travis virtual machine images
# that breaks Python's multiprocessing:
# https://github.com/travis-ci/travis-cookbooks/issues/155
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install:
- pip install "Django>=$DJANGO,<${DJANGO}.99" jsonfield
script:
- "`which django-admin.py` test post_office --settings=post_office.test_settings --pythonpath=."