Skip to content

Commit

Permalink
Change testing only on master
Browse files Browse the repository at this point in the history
  • Loading branch information
askirmas committed Nov 29, 2019
1 parent 0a37132 commit 5b6acc9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash
./scripts/test>&1
if [ $(./main getbranch) == master ]
then
./scripts/test>&1
fi
exit $?

0 comments on commit 5b6acc9

Please sign in to comment.