Commit 4a6abe7b0fb62f6c0e08e04f12a752a0444073ec
Committed by
Sergio Oliveira
1 parent
e3f43a32
Exists in
master
and in
39 other branches
Added run solr
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
.travis.yml
| ... | ... | @@ -6,7 +6,9 @@ python: |
| 6 | 6 | - "2.7" |
| 7 | 7 | |
| 8 | 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 | 13 | install: |
| 12 | 14 | - pip install coveralls flake8 |
| ... | ... | @@ -14,10 +16,8 @@ install: |
| 14 | 16 | - psql -c "CREATE USER colab WITH PASSWORD 'colab' CREATEDB;" -U postgres |
| 15 | 17 | |
| 16 | 18 | before_script: |
| 17 | - - colab-init-config > /etc/colab/settings.yaml | |
| 18 | 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 | 22 | script: |
| 23 | 23 | - python setup.py test | ... | ... |