script: test enforced push to master

enforced building and test with a pre-push hook
IMPORTANT: cmake is needed in PATH
This commit is contained in:
Andreas Stallinger
2016-03-07 16:58:57 +01:00
parent fec17e452d
commit d431161fbb
9 changed files with 129 additions and 14 deletions
+3 -3
View File
@@ -21,10 +21,10 @@ cd $MY_PATH/..
# git settings
echo -e $INFO "install git settings"
git config commit.template .git_commit_template.txt
git config commit.template setup/git/git_commit_template.txt
git config color.ui true
cp .git_pre_commit_hook.sh .git/hooks/pre-commit
cp setup/git/git_pre_commit_hook.sh .git/hooks/pre-commit
cp setup/git/git_pre_push_hook.sh .git/hooks/pre-push
# Create Debug and Release folders
echo -e $INFO "create build folders"