forked from howespt/elasticsearch-dsl-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 917 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
35
36
37
38
39
40
41
42
43
44
45
language: python
addons:
apt:
packages:
- oracle-java8-installer
before_install:
- sudo update-java-alternatives -s java-8-oracle
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre
- java -version
python:
- "2.6"
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
- "pypy"
env:
global:
- WAIT_FOR_ES=1
- ES_PY_VERSION=6.3.0
matrix:
- ES_VERSION=6.2.4
- ES_VERSION=6.3.1
install:
- mkdir /tmp/elasticsearch
- wget -O - https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz | tar xz --directory=/tmp/elasticsearch --strip-components=1
- /tmp/elasticsearch/bin/elasticsearch -d
- pip install git+https://github.com/elastic/elasticsearch-py.git@${ES_PY_VERSION}#egg=elasticsearch
- pip install .
script:
- python setup.py test
notifications:
email:
recipients:
- honza.kral@gmail.com