Files
opensearch-pyd/.travis.yml
T
Honza Král dfb939d878 Major test refactor.
- removed the git submodule, relying on the elasticsearch repo existing
  outside of this one
- modified the run_tests.py script to inspect currently running
  elasticsearch and try and checkout the exact SHA used to build the
  server
- removed the option of starting out own elasticsearch server
- fixed travis.yml to reflect the changed situation
- added a README file to the test suite explaining all the options
2014-01-18 21:08:15 +01:00

40 lines
1.2 KiB
YAML

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:
- mkdir /tmp/elasticsearch
- wget -O - http://s3-us-west-2.amazonaws.com/build.elasticsearch.org/origin/master/nightly/JDK6/elasticsearch-latest-SNAPSHOT.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
- /tmp/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-transport-memcached/2.0.0.RC1
- /tmp/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-transport-thrift/2.0.0.RC1
- git clone https://github.com/elasticsearch/elasticsearch.git ../elasticsearch
- pip install coveralls
- pip install .
before_script:
- /tmp/elasticsearch/bin/elasticsearch -d -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:
- python setup.py test
after_success:
- coveralls