Last active
August 29, 2015 14:20
-
-
Save flockonus/1c6e873db9af0df43b36 to your computer and use it in GitHub Desktop.
Prevent Travis surprises to your nodes:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOT > .git/hooks/pre-push | |
#!/bin/sh | |
npm test | |
EOT | |
chmod +x .git/hooks/pre-push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment