mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[task/code-sniffer] Run code sniffer in PHP 5.5 / MySQL Travis CI environment.
PHPBB3-11980
This commit is contained in:
parent
e660d1bac1
commit
c230701e48
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue