From 2fdd19875c0557b6f37ac5c424ccd68f35ea51ab Mon Sep 17 00:00:00 2001 From: thanhtien522 Date: Tue, 18 Jul 2017 17:31:31 +0700 Subject: [PATCH] Change ES Url to variable, change base image --- .travis.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b498fe7..56787d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,20 @@ +dist: trusty + language: scala env: - - elasticsearch_version=2.4.1 + - es_url=https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.4.1/elasticsearch-2.4.1.deb + - es_url=https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.3.0.deb + - es_url=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.0.deb before_install: - - curl -O https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/${elasticsearch_version}/elasticsearch-${elasticsearch_version}.deb && sudo dpkg -i --force-confnew elasticsearch-${elasticsearch_version}.deb && sudo service elasticsearch restart + - wget ${es_url} -O es.deb && sudo dpkg -i --force-confnew es.deb && sudo service elasticsearch restart + before_script: - sleep 15 + scala: - 2.11.11 jdk: - - oraclejdk8 \ No newline at end of file + - oraclejdk8