Skip to content

Commit

Permalink
Install Elasticsearch 5.3.3 for Travis
Browse files Browse the repository at this point in the history
5.4 has a bug in testing existence of aliases which causes tests to fail: elastic/elasticsearch#24644
  • Loading branch information
gasman committed Jun 7, 2017
1 parent 911567a commit 0029291
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/travis/install_elasticsearch5.sh
Expand Up @@ -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

0 comments on commit 0029291

Please sign in to comment.