Skip to content

Commit 3b7fe0d

Browse files
committed
Update Travis config to use Py3, Django 1.6
Drop Django<1.4, Celery<3
1 parent a36f596 commit 3b7fe0d

File tree

3 files changed

+40
-11
lines changed

3 files changed

+40
-11
lines changed

.travis.yml

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,50 @@ language: python
22
python:
33
- "2.6"
44
- "2.7"
5+
- "3.3"
6+
- "3.4"
57
before_install:
68
- export DJANGO_SETTINGS_MODULE=celery_haystack.test_settings
79
install:
810
- pip install -e .
9-
- pip install -r requirements/$HAYSTACK.txt Django==$DJANGO
11+
- pip install -r requirements/$HAYSTACK.txt $DJANGO
1012
before_script:
1113
- flake8 celery_haystack --ignore=E501
1214
script:
1315
- coverage run --branch --source=celery_haystack `which django-admin.py` test celery_haystack
1416
- coverage report --omit=celery_haystack/test*
1517
env:
16-
- DJANGO=1.3.7 HAYSTACK=v1
17-
- DJANGO=1.3.7 HAYSTACK=v2
18-
- DJANGO=1.4.5 HAYSTACK=v1
19-
- DJANGO=1.4.5 HAYSTACK=v2
20-
- DJANGO=1.5 HAYSTACK=v1
21-
- DJANGO=1.5 HAYSTACK=v2
18+
- DJANGO="Django==1.4.13" HAYSTACK=v1
19+
- DJANGO="Django==1.4.13" HAYSTACK=v2
20+
- DJANGO="Django==1.5.8" HAYSTACK=v1
21+
- DJANGO="Django==1.5.8" HAYSTACK=v2
22+
- DJANGO="Django==1.6.5" HAYSTACK=v1
23+
- DJANGO="Django==1.6.5" HAYSTACK=v2
24+
- DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/" HAYSTACK=v1
25+
- DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/" HAYSTACK=v2
26+
matrix:
27+
exclude:
28+
- env: DJANGO="Django==1.4.13" HAYSTACK=v1
29+
python: "3.3"
30+
- env: DJANGO="Django==1.4.13" HAYSTACK=v2
31+
python: "3.3"
32+
- env: DJANGO="Django==1.5.8" HAYSTACK=v1
33+
python: "3.3"
34+
- env: DJANGO="Django==1.6.5" HAYSTACK=v1
35+
python: "3.3"
36+
- env: DJANGO="Django==1.4.13" HAYSTACK=v1
37+
python: "3.4"
38+
- env: DJANGO="Django==1.4.13" HAYSTACK=v2
39+
python: "3.4"
40+
- env: DJANGO="Django==1.5.8" HAYSTACK=v1
41+
python: "3.4"
42+
- env: DJANGO="Django==1.6.5" HAYSTACK=v1
43+
python: "3.4"
44+
- env: DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/" HAYSTACK=v1
45+
python: "2.6"
46+
- env: DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/" HAYSTACK=v2
47+
python: "2.6"
48+
- env: DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/" HAYSTACK=v1
49+
python: "3.3"
50+
- env: DJANGO="https://www.djangoproject.com/download/1.7c2/tarball/" HAYSTACK=v1
51+
python: "3.4"

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ deleting objects in a Haystack_ search index.
1212
Requirements
1313
------------
1414

15-
* Django 1.2+
15+
* Django 1.4+
1616
* Haystack_ `1.2.X`_ *or* `2.X`_
17-
* Celery_ 2.X
17+
* Celery_ 3.X
1818

1919
You also need to install your choice of one of the supported search engines
2020
for Haystack and one of the supported backends for Celery.
2121

22-
Celery>=3.1.x is **not** supported for the time being. Pull requests are welcome.
2322

2423
.. _Haystack: http://haystacksearch.org
2524
.. _`1.2.X`: http://pypi.python.org/pypi/django-haystack/1.2.5

requirements/v1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ django-discover-runner
22
django-haystack==1.2.7
33
django-celery
44
celery
5-
Whoosh
5+
whoosh<2.5
66
flake8
77
coverage

0 commit comments

Comments
 (0)