Skip to content

Commit f3a2b0f

Browse files
committed
[TEST] Download artifacts directly, migrate off esvm
esvm is no longer maintained (or only sporadically), so move to the direct artifacts. Not a good long-term solution since we can't (easily) get the most recent patch release in each branch, but is better than being stuck at 6.3 with esvm.
1 parent 890d4fe commit f3a2b0f

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

.travis.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,27 @@ matrix:
1818
fast_finish: true
1919
include:
2020
- php: 7.0
21-
env: ES_VERSION="6.5"
21+
env: ES_VERSION="6.5.0"
2222

2323
- php: 7.1
24-
env: ES_VERSION="6.5"
24+
env: ES_VERSION="6.5.0"
2525

2626
- php: 7.2
27-
env: ES_VERSION="6.5"
27+
env: ES_VERSION="6.5.0"
2828

2929
- php: 7.3
30-
env: ES_VERSION="6.0"
30+
env: ES_VERSION="6.0.0"
3131
- php: 7.3
32-
env: ES_VERSION="6.1"
32+
env: ES_VERSION="6.1.0"
3333
- php: 7.3
34-
env: ES_VERSION="6.2"
34+
env: ES_VERSION="6.2.0"
3535
- php: 7.3
36-
env: ES_VERSION="6.3"
36+
env: ES_VERSION="6.3.0"
3737
- php: 7.3
38-
env: ES_VERSION="6.4"
38+
env: ES_VERSION="6.4.0"
3939
- php: 7.3
40-
env: ES_VERSION="6.5"
41-
- php: 7.3
42-
env: ES_VERSION="6.x"
40+
env: ES_VERSION="6.5.0"
4341

44-
allow_failures:
45-
- env: ES_VERSION="6.x"
4642

4743
env:
4844
global:

travis/download_and_run_es.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ which java
1010
java -version
1111

1212

13-
echo "Downloading Elasticsearch v${ES_VERSION}-SNAPSHOT..."
13+
echo "Downloading Elasticsearch v${ES_VERSION}..."
1414

15-
ES_URL=$(curl -sS "https://esvm-props.kibana.rocks/builds" | jq -r ".branches[\"$ES_VERSION\"].zip")
15+
ES_URL="https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz"
1616

17-
curl -L -o elasticsearch-latest-SNAPSHOT.zip $ES_URL
18-
unzip "elasticsearch-latest-SNAPSHOT.zip"
17+
curl -L -o elasticsearch-latest.tar.gz $ES_URL
18+
tar -xvfz "elasticsearch-latest.tar.gz"
1919

2020
echo "Adding repo to config..."
2121
find . -name "elasticsearch.yml" | while read TXT ; do echo 'repositories.url.allowed_urls: ["http://*"]' >> $TXT ; done

0 commit comments

Comments
 (0)