Skip to content

Commit

Permalink
Add a simple manage.py module for Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mjumbewu committed Jan 30, 2014
1 parent f0a9935 commit 329ff4e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ install:
script:
- export PYTHONPATH=.:./tests:$PYTHONPATH
# Make sure things work with template-generic settings
- coverage run --module django-admin test project --settings=project.settings
- coverage run tests/manage.py test project --settings=project.settings
# Make sure things work with handlebars-specific settings
- coverage run --append --module django-admin test project --settings=project.settings_handlebars
- coverage run --append tests/manage.py test project --settings=project.settings_handlebars
# Make sure default settings are reasonable
- coverage run --append --module django-admin test project --settings=project.settings_defaults
- coverage run --append tests/manage.py test project --settings=project.settings_defaults
after_success:
- coverage report --include=djangobars/*
- pip install --quiet python-coveralls
Expand Down
5 changes: 5 additions & 0 deletions tests/manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python
from django.core import management

if __name__ == "__main__":
management.execute_from_command_line()

0 comments on commit 329ff4e

Please sign in to comment.