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:
parent
5dc340f056
commit
26afaf8626
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue