Install Elasticsearch 5.3.3 for Travis

5.4 has a bug in testing existence of aliases which causes tests to fail: https://github.com/elastic/elasticsearch/issues/24644
pull/3640/head
Matt Westcott 2017-06-07 13:03:14 +01:00 zatwierdzone przez Matt Westcott
rodzic 911567af4e
commit ad3e4c3d53
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -3,7 +3,6 @@
sudo sysctl -w vm.max_map_count=262144
sudo apt-get autoremove --purge elasticsearch
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
sudo apt-get update && sudo apt-get install elasticsearch -y
wget -P /tmp/ https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.3.deb
sudo dpkg -i /tmp/elasticsearch-5.3.3.deb
sudo service elasticsearch start