language: java
jdk:
  - oraclejdk8
services:
  - elasticsearch
before_install:
  - curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.3.deb && sudo dpkg -i --force-confnew elasticsearch-5.4.3.deb && sudo service elasticsearch restart
before_script:
  - sleep 10
after_success:
  - bash <(curl -s https://codecov.io/bash)

language: java
jdk:
  - oraclejdk8
services:
  - docker
after_success:
  - bash <(curl -s https://codecov.io/bash)

Use docker instead of manually installing ElasticSearch on TravisCI
Use docker instead of manually installing ElasticSearch on TravisCI
