language: ruby
bundler_args: --without development
rvm:
  - 1.9.3
before_install:
  - sudo service elasticsearch stop
  - wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.13.deb
  - sudo dpkg --force-confnew -i elasticsearch-0.90.13.deb
  - sudo /usr/share/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-lang-javascript/1.3.0
  - sudo /usr/share/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-river-couchdb/1.2.0
  - sudo service elasticsearch start
before_script:
  - ./bin/travis-before-script.rb
script:
  - ./bin/test-full-app.sh
services:
  - couchdb
language: ruby
bundler_args: --without development
rvm:
  - 1.9.3
before_install:
  - wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.13.tar.gz
  - tar zxf elasticsearch-0.90.13.tar.gz
  - elasticsearch-0.90.13/bin/plugin -install elasticsearch/elasticsearch-lang-javascript/1.3.0
  - elasticsearch-0.90.13/bin/plugin -install elasticsearch/elasticsearch-river-couchdb/1.2.0
  - elasticsearch-0.90.13/bin/elasticsearch
before_script:
  - ./bin/travis-before-script.rb
script:
  - ./bin/test-full-app.sh
services:
  - couchdb
sudo: false
Use container-based builds on Travis
Use container-based builds on Travis

Removes any calls which use 'sudo' other than the one needed to start
CouchDB. Specifically, instead of downloading and installing the
Elasticsearch deb package, it downloads the tarball and starts it up
from there.
