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:
39
39
40
40
env :
41
41
global :
42
- - ELASTICSEARCH_VERSION=7.0.0
42
+ - ELASTICSEARCH_VERSION=7.0.0-beta1
43
43
- TEST_CLUSTER_PORT=9250
44
44
- QUIET=true
45
45
46
46
before_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
48
48
- gem update --system
49
49
- gem update bundler
50
50
- gem --version
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
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
13
4
14
5
echo " 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