Ignore vendor directory when running phpcs
This commit is contained in:
parent
e76afe5d3f
commit
51fac6a4d5
|
@ -8,7 +8,7 @@ php:
|
||||||
- 5.5
|
- 5.5
|
||||||
script:
|
script:
|
||||||
- grep --exclude-dir=../.git/ --exclude-dir=../vendor/ -l -r -e '#!/bin/[bash|sh]' ../ | uniq | xargs shellcheck
|
- grep --exclude-dir=../.git/ --exclude-dir=../vendor/ -l -r -e '#!/bin/[bash|sh]' ../ | uniq | xargs shellcheck
|
||||||
- ../vendor/bin/phpcs ../
|
- ../vendor/bin/phpcs --ignore=../vendor/ ../
|
||||||
- ../vendor/bin/phpunit --coverage-clover=coverage.clover
|
- ../vendor/bin/phpunit --coverage-clover=coverage.clover
|
||||||
before_script:
|
before_script:
|
||||||
- composer require phpunit/dbunit=3.0.1 squizlabs/php_codesniffer
|
- composer require phpunit/dbunit=3.0.1 squizlabs/php_codesniffer
|
||||||
|
|
Loading…
Reference in New Issue