File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ matrix:
3939
4040env :
4141 global :
42- - ELASTICSEARCH_VERSION=7.0.0
42+ - ELASTICSEARCH_VERSION=7.0.0-beta1
4343 - TEST_CLUSTER_PORT=9250
4444 - QUIET=true
4545
4646before_install :
47- - ELASTICSEARCH_VERSION=7.0.0 TEST_CLUSTER_PORT=9250 source ./travis_before_script.sh
47+ - TEST_CLUSTER_PORT=9250 source ./travis_before_script.sh
4848 - gem update --system
4949 - gem update bundler
5050 - gem --version
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- metadata_url=" https://artifacts-api.elastic.co/v1/branches/master/builds/latest/projects/elasticsearch/packages/elasticsearch-${ELASTICSEARCH_VERSION} -SNAPSHOT.zip/file"
4- echo " Getting snapshot location from $metadata_url "
5-
6- url=$( curl -v $metadata_url 2>&1 | grep -Pio ' location: \K(.*)' | tr -d ' \r' )
7-
8- echo " Downloading Elasticsearch from $url "
9- curl $url -o /tmp/elasticsearch.zip
10-
11- echo ' Unzipping file'
12- unzip -q /tmp/elasticsearch.zip
3+ curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION} -linux-x86_64.tar.gz | tar xz -C /tmp
134
145echo " Starting elasticsearch on port ${TEST_CLUSTER_PORT} "
15- ${PWD} / elasticsearch-${ELASTICSEARCH_VERSION} -SNAPSHOT /bin/elasticsearch -E http.port=${TEST_CLUSTER_PORT} & > /dev/null &
6+ /tmp/ elasticsearch-${ELASTICSEARCH_VERSION} /bin/elasticsearch -E http.port=${TEST_CLUSTER_PORT} & > /dev/null &
You can’t perform that action at this time.
0 commit comments