-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #281 from ael-code/elasticsearch-2-bulk
Add support for Elasticsearch 2.x
- Loading branch information
Showing
15 changed files
with
386 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,39 @@ | ||
language: python | ||
|
||
python: | ||
- 2.7 | ||
|
||
services: | ||
- elasticsearch | ||
|
||
env: | ||
- VERSION_ES=1.x | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
include: | ||
- python: "2.7" | ||
env: TEST_SUITE=test VERSION_GEVENT=1.0.1 | ||
- python: "2.7" | ||
env: TEST_SUITE=test VERSION_GEVENT=1.0.2 | ||
sudo: true | ||
env: VERSION_ES=2.x | ||
|
||
- python: "2.7" | ||
env: TEST_SUITE=test VERSION_GEVENT=1.1.0 | ||
env: TEST_SUITE=flake | ||
|
||
- python: "2.7" | ||
env: TEST_SUITE=build_sphinx | ||
- python: "2.7" | ||
env: TEST_SUITE=flake | ||
|
||
before_install: | ||
- '[[ -n $VERSION_GEVENT ]] && pip install --force gevent==$VERSION_GEVENT || true' | ||
|
||
install: | ||
- 'if [[ $TEST_SUITE == flake ]]; then pip install flake8; return $? ; fi' | ||
- 'if [[ $TEST_SUITE != flake ]]; then python setup.py install; return $? ; fi' | ||
- 'if [[ $TEST_SUITE == build_sphinx ]]; then pip install sphinx; return $? ; fi' | ||
- 'if [[ $TEST_SUITE == flake ]]; then pip install flake8; return $?; fi' | ||
- 'if [[ $TEST_SUITE != flake ]]; then python setup.py install; return $?; fi' | ||
- 'if [[ $TEST_SUITE == build_sphinx ]]; then pip install sphinx; return $?; fi' | ||
|
||
before_script: | ||
- bash -x ./travis/install_dependencies.sh | ||
|
||
script: | ||
- 'if [[ -z $TEST_SUITE ]]; then sleep 10; python setup.py test; return $?; fi' | ||
- 'if [[ $TEST_SUITE == flake ]]; then flake8; return $?; fi' | ||
- 'if [[ $TEST_SUITE == test ]]; then sleep 10 && python setup.py test ; return $?; fi' | ||
- 'if [[ $TEST_SUITE == build_sphinx ]]; then python setup.py build_sphinx; return $?; fi' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.