File tree 7 files changed +24
-46
lines changed
7 files changed +24
-46
lines changed Original file line number Diff line number Diff line change 11
11
#
12
12
13
13
# TODO: implement the docker-based testing
14
- cd .. && make run_tests
14
+ make run_tests
Original file line number Diff line number Diff line change @@ -8,11 +8,21 @@ ELASTICSEARCH_VERSION:
8
8
9
9
10
10
PYTHON_VERSION :
11
- - 3
12
- - 2.7
13
11
- 2.6
12
+ - 2.7
13
+ - 3.3
14
+ - 3.4
15
+ - 3.5
16
+ - 3.6
17
+ - 3.7
14
18
15
19
exclude :
16
20
# since a base image for python2.6 doens't exist i need to create one.
17
21
- PYTHON_VERSION : 2.6
22
+ # Something is wrong with the way 3.7 and the es-client handle multiprocessing.
23
+ # https://github.com/elastic/elasticsearch-py/issues/865
24
+ - PYTHON_VERSION : 3.7
25
+ # new feature in 6.4.2 which is causing a test failure.
26
+ # https://github.com/elastic/elasticsearch-py/issues/866
27
+ - ELASTICSEARCH_VERSION : 6.4.2
18
28
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
PYTHON_VERSION=${PYTHON_VERSION} docker-compose build client
6
6
7
7
pull :
8
- ELASTIC_VERSION =${ELASTIC_VERSION } PYTHON_VERSION=${PYTHON_VERSION} docker-compose pull
8
+ ELASTICSEARCH_VERSION =${ELASTICSEARCH_VERSION } PYTHON_VERSION=${PYTHON_VERSION} docker-compose pull
9
9
10
10
push :
11
11
# requires authentication.
12
12
PYTHON_VERSION=${PYTHON_VERSION} docker-compose push client
13
13
14
14
run_tests :
15
- ELASTIC_VERSION =${ELASTIC_VERSION } PYTHON_VERSION=${PYTHON_VERSION} docker-compose run client python setup.py test
15
+ ELASTICSEARCH_VERSION =${ELASTICSEARCH_VERSION } PYTHON_VERSION=${PYTHON_VERSION} docker-compose run client python setup.py test
16
16
17
17
start_elasticsearch :
18
- ELASTIC_VERSION =${ELASTIC_VERSION } docker-compose up -d elasticsearch
18
+ ELASTICSEARCH_VERSION =${ELASTICSEARCH_VERSION } docker-compose up -d elasticsearch
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ limitations under the License.
141
141
142
142
Build status
143
143
------------
144
+ .. image:: https://readthedocs.org/projects/elasticsearch-py/badge/?version=latest&style=flat
145
+ :target: https://elasticsearch-py.readthedocs.io/en/master/
144
146
145
- .. image:: https://secure.travis -ci.org/ elastic/ elasticsearch-py.png
146
- :target: https://travis -ci.org/ elastic/ elasticsearch-py
147
+ .. image:: https://clients -ci.elastic.co/job/elastic+ elasticsearch-py+master/badge/icon
148
+ :target: https://clients -ci.elastic.co/job/elastic+ elasticsearch-py+master/
Original file line number Diff line number Diff line change 1
- version : ' 3.3 '
1
+ version : ' 3.2 '
2
2
services :
3
3
client :
4
4
image : docker.elastic.co/clients/elasticsearch-py:${PYTHON_VERSION:-3}
5
5
build :
6
6
context : .
7
- dockerfile : Dockerfile
7
+ dockerfile : ./ Dockerfile
8
8
args :
9
9
PYTHON_VERSION : ${PYTHON_VERSION:-3}
10
10
environment :
@@ -18,7 +18,7 @@ services:
18
18
- elasticsearch
19
19
command : ["true"] # dummy command to override the command in the Dockerfile and do nothing.
20
20
elasticsearch :
21
- image : docker.elastic.co/elasticsearch/elasticsearch-oss:${ELASTIC_VERSION :-6.2.4}
21
+ image : docker.elastic.co/elasticsearch/elasticsearch-oss:${ELASTICSEARCH_VERSION :-6.2.4}
22
22
volumes :
23
23
- esvol:/tmp
24
24
networks :
Original file line number Diff line number Diff line change 64
64
tests_require = tests_require ,
65
65
66
66
extras_require = {
67
- 'develop' : tests_require + ["sphinx" , "sphinx_rtd_theme" ],
67
+ 'develop' : tests_require + ["sphinx<1.7 " , "sphinx_rtd_theme" ],
68
68
'requests' : ['requests>=2.4.0, <3.0.0' ]
69
69
},
70
70
)
You can’t perform that action at this time.
0 commit comments