Skip to content

Commit

Permalink
[#517] Remove datastore.read_url for 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 15, 2013
1 parent 13e7c06 commit c8be95d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/travis-build
Expand Up @@ -32,7 +32,7 @@ python setup.py develop
sed -i -e 's/.*solr_url.*/solr_url = http:\/\/127.0.0.1:8983\/solr/' test-core.ini
sed -i -e 's/.*ckan\.site_id.*/ckan.site_id = travis_ci/' test-core.ini
sed -i -e 's/^sqlalchemy.url.*/sqlalchemy.url = postgresql:\/\/postgres@\/ckan_test/' test-core.ini
sed -i -e 's/.*datastore.write_url.*/ckan.datastore.write_url = postgresql:\/\/postgres@\/datastore/' test-core.ini
sed -i -e 's/^datastore.write_url.*/ckan.datastore.write_url = postgresql:\/\/postgres@\/datastore/' test-core.ini

# Configure Solr
echo "NO_START=0\nJETTY_HOST=127.0.0.1\nJETTY_PORT=8983\nJAVA_HOME=$JAVA_HOME" | sudo tee /etc/default/jetty
Expand All @@ -52,5 +52,10 @@ then
paster datastore set-permissions postgres -c test-core.ini
fi

if [ $PGVERSION == '8.4' ]
then
sed -i -e 's/.*datastore.read_url.*//' test-core.ini
fi

# And finally, run the tests
nosetests --ckan --with-pylons=test-core.ini --nologcapture ckan ckanext

0 comments on commit c8be95d

Please sign in to comment.