1
0
Fork 0
mirror of https://github.com/Oreolek/kangana.git synced 2024-05-04 18:18:17 +03:00

lint only the application

This commit is contained in:
Alexander Yakovlev 2016-11-12 17:27:48 +07:00
parent 5dc340f056
commit 26afaf8626

View file

@ -14,6 +14,6 @@ before_script:
# - cd php-codesniffer
# - scripts/phpcs --config-set installed_paths ../kohana-coding-standards
script:
- find . -name "*.php" -print0 | xargs -0 -n1 -P8 php -l | grep -v '^No syntax errors detected' ; test $? -eq 1
- find application -name "*.php" -print0 | xargs -0 -n1 -P8 php -l | grep -v '^No syntax errors detected' ; test $? -eq 1
- vendor/bin/phpunit -c application/tests
# - php-codesniffer/scripts/phpcs -p -s -v -n --standard=Kohana --extensions=php application