mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
run php-cs-fixer in ci
This commit is contained in:
parent
d9a843ecd6
commit
6adcdc2362
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ before_script:
|
|||
|
||||
script:
|
||||
- phpunit --coverage-clover coverage.xml --configuration test/phpunit.xml
|
||||
- IFS=$'\n'; COMMIT_SCA_FILES=($(git diff --name-only --diff-filter=ACMRTUXB "${$TRAVIS_COMMIT_RANGE}")); unset IFS
|
||||
- vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run --allow-risky yes --stop-on-violation --using-cache=no --path-mode=intersection -- "${COMMIT_SCA_FILES[@]}"
|
||||
- node node_modules/.bin/mocha --recursive
|
||||
|
||||
after_success:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue