From 2f906c980ed589a60c4d11d726132e27db77976e Mon Sep 17 00:00:00 2001 From: Paul Bonser Date: Wed, 24 Jun 2015 18:44:13 -0500 Subject: [PATCH] Different groovy plugin versions depending on ES version --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b978ba4..9fd3745 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,9 @@ go: env: matrix: - - ES_VERSION=1.0.3 - - ES_VERSION=1.1.2 - - ES_VERSION=1.2.1 + - ES_VERSION=1.0.3 GROOVY_VER=2.0.0 + - ES_VERSION=1.1.2 GROOVY_VER=2.0.0 + - ES_VERSION=1.2.1 GROOVY_VER=2.2.0 - ES_VERSION=1.3.4 - ES_VERSION=1.4.4 - ES_VERSION=1.5.2 @@ -22,7 +22,7 @@ before_script: - wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz - tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C ${HOME}/elasticsearch - "echo 'script.groovy.sandbox.enabled: true' >> ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/config/elasticsearch.yml" - - 'if [[ "${ES_VERSION}" < "1.3" ]]; then ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/plugin --install lang-groovy; fi' + - 'if [[ "${ES_VERSION}" < "1.3" ]]; then ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/plugin --install elasticsearch/elasticsearch-lang-groovy/${GROOVY_VER}; fi' - ${HOME}/elasticsearch/elasticsearch-${ES_VERSION}/bin/elasticsearch >/dev/null & install: