diff --git a/.travis.yml b/.travis.yml index e9b307b..89f6385 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,13 +3,10 @@ sudo: false language: ruby before_install: - - curl -O https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.1.1/elasticsearch-2.1.1.deb && dpkg -i --force-confnew elasticsearch-2.1.1.deb - -services: - - elasticsearch - -gemfile: - - Gemfile + - curl -s https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.0.0/elasticsearch-2.0.0.tar.gz > elasticsearch.tar.gz + - tar -xzf elasticsearch.tar.gz + - cd elasticsearch*/ && bin/elasticsearch & + - sleep 10 && curl http://localhost:9200 rvm: - 1.9.3