Commit 4a6abe7b0fb62f6c0e08e04f12a752a0444073ec

Authored by Macartur Sousa
Committed by Sergio Oliveira
1 parent e3f43a32

Added run solr

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
@@ -6,7 +6,9 @@ python: @@ -6,7 +6,9 @@ python:
6 - "2.7" 6 - "2.7"
7 7
8 env: 8 env:
9 - - DJANGO_SETTINGS_MODULE=tests.settings COLAB_SETTINGS=tests/settings.yaml 9 + global:
  10 + - DJANGO_SETTINGS_MODULE=tests.settings
  11 + - COLAB_SETTINGS=tests/settings.yaml
10 12
11 install: 13 install:
12 - pip install coveralls flake8 14 - pip install coveralls flake8
@@ -14,10 +16,8 @@ install: @@ -14,10 +16,8 @@ install:
14 - psql -c "CREATE USER colab WITH PASSWORD 'colab' CREATEDB;" -U postgres 16 - psql -c "CREATE USER colab WITH PASSWORD 'colab' CREATEDB;" -U postgres
15 17
16 before_script: 18 before_script:
17 - - colab-init-config > /etc/colab/settings.yaml  
18 - colab-admin build_solr_schema > solr_confs/schema.xml 19 - colab-admin build_solr_schema > solr_confs/schema.xml
19 - - SOLR_VERSION=4.10.3 SOLR_CONFS="solr_confs" exec `pwd`/ci/install_solr.sh  
20 - - colab-admin rebuild_index 20 + - cat ci/install_solr.sh | SOLR_VERSION=4.10.3 SOLR_CONFS="solr_confs" bash
21 21
22 script: 22 script:
23 - python setup.py test 23 - python setup.py test