only run codesniff on php files

This commit is contained in:
Ceeram 2012-11-04 13:25:50 +01:00
parent fa5ccf46d0
commit 138098f327

View file

@ -118,7 +118,7 @@ before_script:
}" > app/Config/database.php
script:
- sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else phpcs --standard=CakePHP ./lib/Cake; fi"
- sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else phpcs --extensions=php --standard=CakePHP ./lib/Cake; fi"
notifications:
email: false