From 080ed5efe3a7745d6c8e83667c727f1b7992685b Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 7 Aug 2015 15:03:07 +0200 Subject: execute tests before commit --- bin/git/hooks/pre-commit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/git/hooks/pre-commit b/bin/git/hooks/pre-commit index c767ca0d0..881895787 100755 --- a/bin/git/hooks/pre-commit +++ b/bin/git/hooks/pre-commit @@ -1,6 +1,9 @@ #!/bin/bash +phpunit -c phpunit.xml +phpunit -c phpunit.integration.xml cd js +grunt js-unit grunt cachebuster cd .. -git add appinfo/checksum.json \ No newline at end of file +git add appinfo/checksum.json -- cgit v1.2.3