From 1162a42dbcf949707cf1490dd034a2fc1f34c724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 25 Sep 2013 18:40:16 +0200 Subject: [PATCH] Add phpcpd check to travis.yml --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) 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