forked from avocado-framework/avocado-vt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Add new checks for spell, signed-off and build eggs
Add job to build package (egg) Check signed-off-by to make sure new commits are signed by the author. Add spellchecker together with its requirements on pyenchant to requirements-travis.txt Sphinx is already listed in requirements-travis.txt, remove it. Signed-off-by: Ana Guerrero Lopez <[email protected]>
- Loading branch information
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ aexpect==1.6.0 | |
simplejson==3.8.0 | ||
netaddr==0.7.19 | ||
netifaces>=0.10.5 | ||
pyenchant |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh -e | ||
|
||
echo "** Running signedoff-check..." | ||
|
||
AUTHOR="$(git log --no-merges -1 --pretty='format:%aN <%aE>')" | ||
git log --no-merges -1 --pretty=format:%B | grep -i "Signed-off-by: $AUTHOR" | ||
if [ $? != 0 ]; then | ||
echo "The commit message does not contain author's signature (Signed-off-by: $AUTHOR)" | ||
exit 1 | ||
fi |