[Git][noosfero/noosfero][master] travis: update to working elasticsearch version

Bráulio Bhavamitra gitlab at mg.gitlab.com
Thu May 4 03:34:01 BRT 2017


Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero


Commits:
71d253ba by Braulio Bhavamitra at 2017-05-04T03:25:54-03:00
travis: update to working elasticsearch version

- - - - -


1 changed file:

- .travis.yml


Changes:

=====================================
.travis.yml
=====================================
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,10 +19,11 @@ cache: bundler
 language: ruby
 rvm:
   - 2.4.1
+jdk:
+  - oraclejdk8
 
 services:
   - postgresql
-  - elasticsearch
 
 addons:
   apt:
@@ -41,6 +42,10 @@ before_install:
   - mkdir geckodriver
   - tar -xzf geckodriver-v0.14.0-linux64.tar.gz -C geckodriver
   - export PATH=$PATH:$PWD/geckodriver
+  # elasticsearch 2
+  - wget ${ES_DOWNLOAD_URL}
+  - tar -xzf elasticsearch-${ES_VERSION}.tar.gz
+  - ./elasticsearch-${ES_VERSION}/bin/elasticsearch &
 
 before_script:
   - mkdir -p tmp/{pids,cache} log cache
@@ -54,6 +59,8 @@ before_script:
 
 env:
   global:
+    - ES_VERSION=5.3.2
+    - ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
     - LANG=en
   matrix:
     - TASK=spec SPEC=spec/models



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/71d253ba3017c84e3c5c86568c4ecd97616c529a

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/71d253ba3017c84e3c5c86568c4ecd97616c529a
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170504/c8a64a4c/attachment-0001.html>


More information about the Noosfero-dev mailing list