mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Remove phpcpd from .travis.yml
This commit is contained in:
parent
5941420ce9
commit
b8fb128dc5
@ -1,12 +1,9 @@
|
|||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 5.5
|
- 5.6
|
||||||
- 5.4
|
|
||||||
- 5.3
|
- 5.3
|
||||||
before_install:
|
before_install:
|
||||||
- pear config-set auto_discover 1
|
- pyrus install pear/PHP_CodeSniffer
|
||||||
- pear install pear/PHP_CodeSniffer
|
|
||||||
- pear install pear.phpunit.de/phpcpd
|
|
||||||
- phpenv rehash
|
- phpenv rehash
|
||||||
before_script:
|
before_script:
|
||||||
- git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
|
- git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
|
||||||
@ -17,4 +14,3 @@ before_script:
|
|||||||
script:
|
script:
|
||||||
- find file -type f -name '*.php' |xargs -I file php -l file
|
- find file -type f -name '*.php' |xargs -I file php -l file
|
||||||
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file
|
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file
|
||||||
- phpcpd --verbose --min-lines 10 file ; exit 0
|
|
Loading…
Reference in New Issue
Block a user