aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-27 17:39:39 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-10-27 17:43:08 +0100
commitc230701e48e393641957fe46fde521f713c203e9 (patch)
treef19025da6bd8137040e68a0ec9e25c62784e67e0
parente660d1bac1781e8d1506e6f5502008793a067bab (diff)
downloadforums-c230701e48e393641957fe46fde521f713c203e9.tar
forums-c230701e48e393641957fe46fde521f713c203e9.tar.gz
forums-c230701e48e393641957fe46fde521f713c203e9.tar.bz2
forums-c230701e48e393641957fe46fde521f713c203e9.tar.xz
forums-c230701e48e393641957fe46fde521f713c203e9.zip
[task/code-sniffer] Run code sniffer in PHP 5.5 / MySQL Travis CI environment.
PHPBB3-11980
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
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