Browse Source

only run codesniff on php files

Ceeram 13 years ago
parent
commit
138098f327
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -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