diff --git a/.travis.yml b/.travis.yml index f9a7c0b..94188c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file