Browse Source

Merge pull request #29 from rhcarvalho/build-hook

Add build post commit hook to run tests
pull/13/head
Ben Parees 9 years ago
parent
commit
be9cbdadce
2 changed files with 8 additions and 2 deletions
  1. +4
    -1
      openshift/templates/django-postgresql.json
  2. +4
    -1
      openshift/templates/django.json

+ 4
- 1
openshift/templates/django-postgresql.json View File

@ -106,7 +106,10 @@
"secret": "${GITHUB_WEBHOOK_SECRET}"
}
}
]
],
"postCommit": {
"script": "./manage.py test"
}
}
},
{


+ 4
- 1
openshift/templates/django.json View File

@ -106,7 +106,10 @@
"secret": "${GITHUB_WEBHOOK_SECRET}"
}
}
]
],
"postCommit": {
"script": "./manage.py test"
}
}
},
{


Loading…
Cancel
Save