mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-26 07:49:48 -05:00
Merge pull request #86 from garrettr/push-hook
add push hook that runs test suite
This commit is contained in:
commit
c1bec61e8d
3
git-hooks/README.md
Normal file
3
git-hooks/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
To use these hooks, cp any of them to onionshare's `.git/hooks`.
|
||||
|
||||
* `pre-push` runs the test suite, and will push if the tests pass.
|
6
git-hooks/pre-push
Executable file
6
git-hooks/pre-push
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Pre-push hook. If you want to test with a different version of firefox, put
|
||||
# the path in the CFX_FIREFOX environment variable.
|
||||
|
||||
nosetests test
|
Loading…
Reference in New Issue
Block a user