[Git][noosfero/noosfero][master] circleci: add elasticsearch and other updates

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


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


Commits:
41300720 by Braulio Bhavamitra at 2017-05-04T01:55:13-03:00
circleci: add elasticsearch and other updates

- - - - -


1 changed file:

- circle.yml


Changes:

=====================================
circle.yml
=====================================
--- a/circle.yml
+++ b/circle.yml
@@ -2,14 +2,21 @@ machine:
   timezone:
     America/Bahia
   ruby:
-    version: 2.3.1
+    version: 2.4.1
   services:
     - postgresql
+    - elasticsearch
 
 dependencies:
+  cache_directories:
+    - elasticsearch-2.4.3
   pre:
     - sudo apt-get install po4a iso-codes tango-icon-theme pidgin-data libpq-dev libreadline-dev libxslt1-dev
     - mkdir -p tmp/{pids,cache} log cache
+  post:
+    - wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.3/elasticsearch-2.4.3.tar.gz
+    - tar -xvf elasticsearch-2.4.3.tar.gz
+    - elasticsearch-2.4.3/bin/elasticsearch: {background: true}
 
 database:
   override:
@@ -36,7 +43,7 @@ test:
           SLICE=2/4 NOOSFERO_BUNDLE_OPTS=install bundle exec rake test:noosfero_plugins
           ;;
         2)
-          bundle exec rake test:specs
+          bundle exec rake spec SPEC=spec/models
           bundle exec rake test:units
           SLICE=3/4 bundle exec rake selenium
           SLICE=3/4 NOOSFERO_BUNDLE_OPTS=install bundle exec rake test:noosfero_plugins



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/413007203761207fe9a90d57d079ec816f1aa2d3

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/413007203761207fe9a90d57d079ec816f1aa2d3
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/80890d8f/attachment-0001.html>


More information about the Noosfero-dev mailing list