language: rust

rust:
  - stable
  - beta
  - nightly

services:
  - elasticsearch

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y ruby
  - curl -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.0.0.deb && sudo dpkg -i --force-confnew elasticsearch-2.0.0.deb


# As recommended here: http://docs.travis-ci.com/user/database-setup/#ElasticSearch
before_script:
  - sleep 10

language: rust

rust:
  - stable
  - beta
  - nightly

services:
  - elasticsearch

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y ruby
  - curl -O https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.0.2/elasticsearch-2.0.2.deb && sudo dpkg -i --force-confnew elasticsearch-2.0.0.deb


# As recommended here: http://docs.travis-ci.com/user/database-setup/#ElasticSearch
before_script:
  - sleep 10

Correct URL for the ES 2.0 DEB
Correct URL for the ES 2.0 DEB
