adding elasticsearch to travis
@@ -3,6 +3,8 @@ python:
- 2.7
- 3.6
sudo: false
+env:
+ - ES_VERSION=1.3.9 ES_DOWNLOAD_URL=https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
matrix:
include:
- python: 2.7
@@ -18,6 +20,9 @@ cache:
- ~/.cache/pip
- ~/.nvm/nvm.sh
install:
+ - wget ${ES_DOWNLOAD_URL}
+ - tar -xzf elasticsearch-${ES_VERSION}.tar.gz
+ - ./elasticsearch-${ES_VERSION}/bin/elasticsearch &
- pip install tox-travis
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
- source ~/.nvm/nvm.sh
