From 6f727bc0f99a8d36a11e8c5b61489c2e6e96a0ea Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 3 Feb 2014 23:44:15 +0100 Subject: [PATCH 1/5] [ticket/11509] Contrary to docs, COMMIT_RANGE is not available in PR mode. PHPBB3-11509 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4df4bc896a..20a3c4f9fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,4 @@ before_script: script: - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then phpunit --configuration travis/phpunit-$DB-travis.xml; else phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi" - - sh -c "if [ '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh $TRAVIS_COMMIT_RANGE; fi" + - sh -c "if [ '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh $TRAVIS_BRANCH...FETCH_HEAD; fi" From 5069922e24159755a7df40b1c264507806a32d7a Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 3 Feb 2014 23:50:48 +0100 Subject: [PATCH 2/5] [ticket/11509] Run commit message checker only in one environment. PHPBB3-11509 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 20a3c4f9fe..16f9e5a799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,4 @@ before_script: script: - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then phpunit --configuration travis/phpunit-$DB-travis.xml; else phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi" - - sh -c "if [ '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh $TRAVIS_BRANCH...FETCH_HEAD; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysql' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh $TRAVIS_BRANCH...FETCH_HEAD; fi" From 78116a5298bc0cbbfb70e0ab39d14123c24fcb21 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Tue, 4 Feb 2014 02:07:45 +0100 Subject: [PATCH 3/5] [ticket/12161] Do not use subdirectories in build/save directory. This is pretty much pointless because a new build will wipe the save directory and there are only a few files in there anyway. PHPBB3-12161 --- build/build.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/build.xml b/build/build.xml index b668c9bf40..e82e61a18e 100644 --- a/build/build.xml +++ b/build/build.xml @@ -133,20 +133,20 @@ + save/phpbb-${prevversion}_to_${newversion}_language.patch" /> + save/phpbb-${prevversion}_to_${newversion}_prosilver.patch" /> + save/phpbb-${prevversion}_to_${newversion}_subsilver2.patch" /> + save/phpbb-${prevversion}_to_${newversion}_git_shortlog.txt" /> + save/phpbb-${prevversion}_to_${newversion}_git_diffstat.txt" /> From 33593a508c9580a2b26f5185c162057d59551e4a Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Tue, 4 Feb 2014 00:50:14 +0100 Subject: [PATCH 4/5] [ticket/11509] Be exact when referencing the branch name. PHPBB3-11509 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 16f9e5a799..28362481c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,4 @@ before_script: script: - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then phpunit --configuration travis/phpunit-$DB-travis.xml; else phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi" - - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysql' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh $TRAVIS_BRANCH...FETCH_HEAD; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysql' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH...FETCH_HEAD; fi" From aae4d4c90d447754dbf1d10b09c29f38b96a650a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 4 Feb 2014 12:32:25 +0100 Subject: [PATCH 5/5] [ticket/12162] Set language to C before running diff to ensure its english PHPBB3-12162 --- build/build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.xml b/build/build.xml index e82e61a18e..83ddcd29c4 100644 --- a/build/build.xml +++ b/build/build.xml @@ -105,7 +105,7 @@ -