代码拉取完成,页面将自动刷新
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "pypy"
env:
# different connection classes to test
- TEST_ES_CONNECTION=Urllib3HttpConnection
- TEST_ES_CONNECTION=RequestsHttpConnection
- TEST_ES_CONNECTION=ThriftConnection
matrix:
exclude:
# skip testing thrift on py3 and pypy
- python: "pypy"
env: TEST_ES_CONNECTION=ThriftConnection
- python: "3.3"
env: TEST_ES_CONNECTION=ThriftConnection
install:
- wget -O - https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.9.tar.gz | tar xz -C /tmp
- /tmp/elasticsearch-0.90.9/bin/plugin -install elasticsearch/elasticsearch-transport-memcached/1.6.0
- /tmp/elasticsearch-0.90.9/bin/plugin -install elasticsearch/elasticsearch-transport-thrift/1.6.0
- git submodule init
- pip install coveralls
- pip install .
before_script:
- /tmp/elasticsearch-0.90.9/bin/elasticsearch -D es.path.data=/tmp -D es.gateway.type=none -D es.index.store.type=memory -D es.discovery.zen.ping.multicast.enabled=false
script:
- TEST_ES_SERVER=localhost python setup.py test
after_success:
- coveralls
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。