mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Add phpcpd check to travis.yml
This commit is contained in:
parent
14b453495c
commit
1162a42dbc
@ -4,7 +4,9 @@ php:
|
||||
- 5.4
|
||||
- 5.3
|
||||
before_install:
|
||||
- pear config-set auto_discover 1
|
||||
- pear install pear/PHP_CodeSniffer
|
||||
- pear install pear.phpunit.de/phpcpd
|
||||
- phpenv rehash
|
||||
before_script:
|
||||
- git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
|
||||
@ -15,3 +17,4 @@ before_script:
|
||||
script:
|
||||
- find file -type f -name '*.php' |xargs -I file php -l file
|
||||
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file
|
||||
- phpcpd file
|
Loading…
Reference in New Issue
Block a user