before_install:
  - sudo service elasticsearch stop
  - sudo apt-get remove elasticsearch
  - sudo curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.16.deb
  - sudo dpkg -i --force-confnew                                      elasticsearch-5.6.16.deb
  - sudo service elasticsearch restart
before_script:
  - sleep 10
  - curl localhost:9200
language: ruby
rvm:
  - 2.6.3
  - 2.4.0
services:
  - elasticsearch
notifications:
  email:
    - happy@mcplaksin.org

before_install:
  - sudo service elasticsearch stop
  - sudo apt-get remove elasticsearch
  - sudo curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.1.deb
  - sudo dpkg -i --force-confnew                                      elasticsearch-6.8.1.deb
  - sudo service elasticsearch restart
before_script:
  - sleep 10
  - curl localhost:9200
language: ruby
rvm:
  - 2.6.3
  - 2.5.5
  - 2.4.0
services:
  - elasticsearch
notifications:
  email:
    - happy@mcplaksin.org

Change to Elasticsearch 6, add Ruby 2.5.5
Travis: Change to Elasticsearch 6, add Ruby 2.5.5
