forked from elastic/elasticsearch-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (27 loc) · 888 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
jdk:
- "oraclejdk8"
env:
# different connection classes to test
- TEST_ES_CONNECTION=Urllib3HttpConnection
- TEST_ES_CONNECTION=RequestsHttpConnection
install:
- wget -O /tmp/es-snap.zip "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.elasticsearch.distribution.zip&a=elasticsearch&e=zip&v=5.0.0-SNAPSHOT"
- unzip /tmp/es-snap.zip -d /tmp/
- mv /tmp/elasticsearch-5.0.0-SNAPSHOT /tmp/elasticsearch
- /tmp/elasticsearch/bin/elasticsearch -E script.inline=true -E path.repo=/tmp -E repositories.url.allowed_urls='http://*' -E node.attr.testattr=test
- git clone https://github.com/elastic/elasticsearch.git ../elasticsearch
- pip install .
script:
- python setup.py test
notifications:
email:
recipients: