diff options
author | Derky <derky@phpbb.com> | 2017-12-08 23:49:49 +0100 |
---|---|---|
committer | Derky <derky@phpbb.com> | 2017-12-08 23:49:49 +0100 |
commit | 5ab3eac014eec9c3fee2a7b7013ffa9e10534e06 (patch) | |
tree | c3628da65850b15b97c72b748ce3471ad9b1d8cc | |
parent | 2643e851f2acfe703364d96fb00ab52c38369a5b (diff) | |
download | forums-5ab3eac014eec9c3fee2a7b7013ffa9e10534e06.tar forums-5ab3eac014eec9c3fee2a7b7013ffa9e10534e06.tar.gz forums-5ab3eac014eec9c3fee2a7b7013ffa9e10534e06.tar.bz2 forums-5ab3eac014eec9c3fee2a7b7013ffa9e10534e06.tar.xz forums-5ab3eac014eec9c3fee2a7b7013ffa9e10534e06.zip |
[ticket/15475] Fix Travis pull request commit messages validation
It stopped working because of Travis's default clone depth of 50.
PHPBB3-15475
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index fa2a86c0db..4cef1af10e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,4 +53,4 @@ script: - sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/lint_test.php; fi" - sh -c "if [ '$NOTESTS' != '1' -a '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --verbose --stop-on-error; fi" - sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi" - - sh -c "set -x;if [ '$NOTESTS' = '1' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi" + - sh -c "set -x;if [ '$NOTESTS' = '1' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git remote set-branches --add origin $TRAVIS_BRANCH && git fetch && git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..$TRAVIS_PULL_REQUEST_SHA; fi" |