Files
opensearch-pyd/.travis.yml
T

39 lines
965 B
YAML
Raw Normal View History

2013-05-01 16:37:32 +02:00
language: python
2013-05-01 16:37:32 +02:00
python:
- "2.6"
- "2.7"
- "3.3"
2014-06-21 13:19:11 -07:00
- "3.4"
2016-06-10 15:01:50 +02:00
- "3.5"
2016-11-02 17:37:27 -07:00
addons:
apt:
packages:
- oracle-java8-installer
2016-06-10 15:08:11 +02:00
env:
# different connection classes to test
2017-01-11 14:26:56 +01:00
- TEST_ES_CONNECTION=Urllib3HttpConnection ES_VERSION=5.1.1
- TEST_ES_CONNECTION=RequestsHttpConnection ES_VERSION=5.1.1
2016-11-02 17:37:27 -07:00
before_install:
- sudo update-java-alternatives -s java-8-oracle
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre
- java -version
2013-05-01 16:37:32 +02:00
install:
2016-11-02 17:37:27 -07:00
- curl -L -o /tmp/es-snap.zip https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.zip
2016-06-10 15:01:50 +02:00
- unzip /tmp/es-snap.zip -d /tmp/
2016-11-02 17:37:27 -07:00
- /tmp/elasticsearch-*/bin/elasticsearch -E script.inline=true -E path.repo=/tmp -E repositories.url.allowed_urls='http://*' -E node.attr.testattr=test -d
2015-04-22 22:45:46 +02:00
- git clone https://github.com/elastic/elasticsearch.git ../elasticsearch
- pip install .
2013-05-01 16:37:32 +02:00
script:
2014-01-18 21:08:15 +01:00
- python setup.py test
2015-04-22 22:45:46 +02:00
notifications:
email:
recipients:
- [email protected]