Browse Source

Add build post commit hook to run tests

pull/29/head
Rodolfo Carvalho 9 years ago
parent
commit
283a460018
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