Skip to content

Instantly share code, notes, and snippets.

@jefftriplett
Created August 8, 2011 01:14
Show Gist options
  • Save jefftriplett/1131022 to your computer and use it in GitHub Desktop.
Save jefftriplett/1131022 to your computer and use it in GitHub Desktop.
watchmedo demo for running CI without a buildbot or jenkins
#!/bin/bash
# this simply runs "django-admin.py test" every time it detects that a *.py
# file has changed.
watchmedo shell-command --patterns="*.py" --ignore-directories --recursive --command="django-admin.py test --noinput" project_name/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment