From 02599b82ddeab9efda301e31ed82081f5864d180 Mon Sep 17 00:00:00 2001 From: 7IN0SAN9 Date: Thu, 24 Mar 2016 15:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6057fba4..68d49485 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,13 +35,13 @@ install: script: ## LINT - - find thinkphp ! -path "vendor/*" -type f -name \*.php -exec php -l {} \; + - find ./ ! -path "vendor/*" -type f -name \*.php -exec php -l {} \; ## PHP_CodeSniffer - - vendor/bin/phpcs --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 --standard=PSR2 --ignore="vendor/*" thinkphp + - vendor/bin/phpcs --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 --standard=PSR2 --ignore="vendor/*" ./ ## PHP Copy/Paste Detector - - vendor/bin/phpcpd --verbose --exclude vendor thinkphp || true + - vendor/bin/phpcpd --verbose --exclude vendor ./ || true ## PHPLOC - - vendor/bin/phploc --exclude vendor thinkphp + - vendor/bin/phploc --exclude vendor ./ ## PHPUNIT - vendor/bin/phpunit --coverage-clover=coverage.xml --configuration=phpunit.xml