Merge branch 'master' of github.com:ckan/ckanext-harvest into other-deprecated-nav_named_link

This commit is contained in:
David Read 2016-04-27 15:53:48 +00:00
commit e72d7b0267
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ pip install -r dev-requirements.txt --allow-all-external
cd - cd -
echo "Setting up Solr..." echo "Setting up Solr..."
# solr is multicore for tests on ckan master now, but it's easier to run tests
# on Travis single-core still.
# see https://github.com/ckan/ckan/issues/2972
sed -i -e 's/solr_url.*/solr_url = http:\/\/127.0.0.1:8983\/solr/' ckan/test-core.ini
printf "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8983\nJAVA_HOME=$JAVA_HOME" | sudo tee /etc/default/jetty printf "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8983\nJAVA_HOME=$JAVA_HOME" | sudo tee /etc/default/jetty
sudo cp ckan/ckan/config/solr/schema.xml /etc/solr/conf/schema.xml sudo cp ckan/ckan/config/solr/schema.xml /etc/solr/conf/schema.xml
sudo service jetty restart sudo service jetty restart