From c230701e48e393641957fe46fde521f713c203e9 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sun, 27 Oct 2013 17:39:39 +0100 Subject: [PATCH] [task/code-sniffer] Run code sniffer in PHP 5.5 / MySQL Travis CI environment. PHPBB3-11980 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index a5c27632b4..dd947a72e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,9 @@ 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" + - 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