From 6a7db8d51a6659d6684a66d423904c9b7de59adf Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Tue, 29 Oct 2013 00:44:04 +0100 Subject: [PATCH] [task/code-sniffer] Require code sniffer to pass on Travis CI. PHPBB3-11980 --- .travis.yml | 4 ++-- build/build.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index dd947a72e0..e82e815b3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,11 +20,11 @@ before_script: - php ../composer.phar install --dev --no-interaction --prefer-source - cd .. - sh -c "if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.3.19', '>=');"` = "1" ]; then travis/setup-webserver.sh; fi" + +script: - cd build - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' -a '$DB' = 'mysql' ]; then ../phpBB/vendor/bin/phing sniff; fi" - cd .. - -script: - phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml notifications: diff --git a/build/build.xml b/build/build.xml index 9376f95143..c685a6f516 100644 --- a/build/build.xml +++ b/build/build.xml @@ -88,14 +88,14 @@ --ignore=phpBB/phpbb/* --ignore=phpBB/vendor/* phpBB" - dir="." passthru="true" /> + dir="." checkreturn="true" passthru="true" /> + dir="." checkreturn="true" passthru="true" />