Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElasticSearch 2.0 support #1336

Closed
wants to merge 53 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
c69344c
Elasticsearch 2.x support
Mar 23, 2016
f09f47f
Elasticsearch 2.x support
Mar 23, 2016
c79f675
Launchs ES 2.x on Travis
Mar 23, 2016
c2b0164
Launchs ES 2.x on Travis
Mar 23, 2016
546dd7e
Launchs ES 2.x on Travis
Mar 23, 2016
8a2f2b6
Launchs ES 2.x on Travis
Mar 23, 2016
c19ca4e
Use haystack_get_model on mocks.py
Mar 23, 2016
6c956de
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
4a75130
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
69d8302
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
76ad88d
Adds delay on test_multiprocessing
Mar 24, 2016
c262e13
Revert: Adds delay on test_multiprocessing
Mar 24, 2016
24668f9
Removes pool.join on command update_index
Mar 25, 2016
3b18737
Revert: Test multiprocessing with context manager
Mar 25, 2016
8bf05b4
Elasticsearch 2.x support
Mar 23, 2016
b5cb345
Elasticsearch 2.x support
Mar 23, 2016
22288d7
Launchs ES 2.x on Travis
Mar 23, 2016
c2b94cd
Launchs ES 2.x on Travis
Mar 23, 2016
2fd632f
Launchs ES 2.x on Travis
Mar 23, 2016
f50c38e
Launchs ES 2.x on Travis
Mar 23, 2016
7a7f999
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
ffebab9
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
e2b584f
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
217f996
Adds delay on test_multiprocessing
Mar 24, 2016
851c2c8
Revert: Adds delay on test_multiprocessing
Mar 24, 2016
05ce4e7
Removes pool.join on command update_index
Mar 25, 2016
71af281
Revert: Test multiprocessing with context manager
Mar 25, 2016
6ba957c
Renames an non-existent fixture file
Mar 27, 2016
6762a2f
Merge branch 'es2' of github.com:PedroAquilino/django-haystack into es2
Mar 27, 2016
b3a360c
Elasticsearch 2.x support
Mar 23, 2016
60ff1fc
Elasticsearch 2.x support
Mar 23, 2016
7b14d23
Launchs ES 2.x on Travis
Mar 23, 2016
e2f66c8
Launchs ES 2.x on Travis
Mar 23, 2016
86a2ab5
Launchs ES 2.x on Travis
Mar 23, 2016
6ca562d
Launchs ES 2.x on Travis
Mar 23, 2016
2a950de
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
cbf9b44
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
7be7e03
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
19b0c74
Adds delay on test_multiprocessing
Mar 24, 2016
e95de98
Revert: Adds delay on test_multiprocessing
Mar 24, 2016
e287b4a
Removes pool.join on command update_index
Mar 25, 2016
9babc67
Revert: Test multiprocessing with context manager
Mar 25, 2016
2e372ee
Elasticsearch 2.x support
Mar 23, 2016
1c97df8
Elasticsearch 2.x support
Mar 23, 2016
a79ee14
Launchs ES 2.x on Travis
Mar 23, 2016
092a486
Uses a build matrix to test ES 1.x or ES 2.x
Mar 24, 2016
b809b31
Adds delay on test_multiprocessing
Mar 24, 2016
8960ca5
Revert: Adds delay on test_multiprocessing
Mar 24, 2016
4b9dcf8
Removes pool.join on command update_index
Mar 25, 2016
30a6a1d
Revert: Test multiprocessing with context manager
Mar 25, 2016
fe0d374
Renames an non-existent fixture file
Mar 27, 2016
236df8c
Merge branch 'es2' of github.com:PedroAquilino/django-haystack into es2
Mar 28, 2016
d42090f
Fix differences on connection.queries counts
Mar 28, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 16 additions & 6 deletions .travis.yml
Expand Up @@ -26,10 +26,21 @@ addons:

before_install:
- mkdir -p $HOME/download-cache
- >
if [[ $VERSION_ES == '>=2.0.0,<3.0.0' ]];
then
wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.2.1/elasticsearch-2.2.1.tar.gz
tar zxf elasticsearch-2.2.1.tar.gz
elasticsearch-2.2.1/bin/elasticsearch -d -Dhttp.port=9200
else
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz
tar zxf elasticsearch-1.7.5.tar.gz
elasticsearch-1.7.5/bin/elasticsearch -d -Dhttp.port=9200
fi

install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install mock==1.0.1; fi
- pip install requests "Django${DJANGO_VERSION}"
- pip install requests "Django${DJANGO_VERSION}" "elasticsearch${VERSION_ES}"
- python setup.py clean build install

before_script:
Expand All @@ -41,16 +52,15 @@ script:

env:
matrix:
- DJANGO_VERSION=">=1.8,<1.9"
- DJANGO_VERSION=">=1.9,<1.10"
- DJANGO_VERSION=">=1.8,<1.9" VERSION_ES=">=1.0.0,<2.0.0"
- DJANGO_VERSION=">=1.9,<1.10" VERSION_ES=">=1.0.0,<2.0.0"
- DJANGO_VERSION=">=1.8,<1.9" VERSION_ES=">=2.0.0,<3.0.0"
- DJANGO_VERSION=">=1.9,<1.10" VERSION_ES=">=2.0.0,<3.0.0"

matrix:
allow_failures:
- python: "pypy"

services:
- elasticsearch

notifications:
irc: "irc.freenode.org#haystack"
email: false