Skip to content

Commit

Permalink
Revert "Try to have Travis use Elasticsearch 2.3.0"
Browse files Browse the repository at this point in the history
This reverts commit 76ef8f2.
  • Loading branch information
oalders committed Apr 24, 2016
1 parent 56901b5 commit 84f2ae2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Expand Up @@ -17,6 +17,7 @@ notifications:
on_failure: always
irc: "irc.perl.org#metacpan-travis"


env:
global:
# We use a non-standard port to avoid trashing production
Expand All @@ -28,11 +29,14 @@ env:


before_install:
- curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.3.0.deb && sudo dpkg -i --force-confnew elasticsearch-2.3.0.deb && sudo service elasticsearch restart
# https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html
- wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
- echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
- sudo apt-get update

# Run update to make libgmp-dev findable (Required by Net::OpenID::Consumer)
# postgresql-server-dev-all is required by DBD::Pg
- sudo apt-get install libgmp-dev postgresql-server-dev-all
- sudo apt-get install elasticsearch libgmp-dev postgresql-server-dev-all

- sudo service elasticsearch restart
- pwd
Expand Down

0 comments on commit 84f2ae2

Please sign in to comment.