Skip to content

Instantly share code, notes, and snippets.

@pirhoo
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save pirhoo/8841472 to your computer and use it in GitHub Desktop.

Select an option

Save pirhoo/8841472 to your computer and use it in GitHub Desktop.
./install_local_neo4j.bash $NEO4J_VERSION
./lib/neo4j/bin/neo4j start || ( cat ./lib/neo4j/data/log/*.log && exit 1 )
pip install --use-mirrors -r test_requirements.txt
pip install --use-mirrors coveralls
python ./manage.py syncdb --pythonpath=. --noinput
python ./manage.py loaddata app/detective/fixtures/search_terms.json
coverage run --source=app.detective ./manage.py test detective
coveralls
@pirhoo
Copy link
Copy Markdown
Author

pirhoo commented Feb 6, 2014

To work you may also set the following env variables:

DJANGO_SETTINGS_MODULE=app.settings_tests
NEO4J_PORT=7474
NEO4J_VERSION=1.9.1
COVERALLS_SERVICE_NAME=drone-io
COVERALLS_REPO_TOKEN=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment