1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Remove DCO checker from Travis

This is now done by separate GitHub hook.

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař
2014-03-13 11:48:44 +01:00
parent 1740da7f6e
commit ee69e2dfb5
2 changed files with 0 additions and 22 deletions

View File

@@ -16,7 +16,6 @@ before_script:
script:
- ./scripts/generate-mo --quiet
- PHPUNIT_ARGS=--debug ant phpunit lint
- if [[ $TRAVIS_PULL_REQUEST != "false" ]] ; then ./scripts/check-dco origin/$TRAVIS_BRANCH..FETCH_HEAD ; fi
after_script:
- php vendor/bin/coveralls -v
matrix:

View File

@@ -1,21 +0,0 @@
#!/bin/sh
# Checks whether all commits in given range have Signed-Off-By
if [ -z "$1" ] ; then
echo "Usage: check-dco COMMITRANGE"
exit 1
fi
RESULT=0
for rev in `git rev-list --no-merges $1` ; do
if ! git log -1 $rev | grep -iq '^ Signed-Off-By:' ; then
echo '------------------------------------------'
echo "Missing Signed-Off-By in following commit:"
git --no-pager log -1 $rev
echo
RESULT=1
fi
done
exit $RESULT