mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-02 07:29:34 +00:00
Run some linters on TravisCI to ensure basic integrity of files.
This commit is contained in:
parent
50a173d57c
commit
26fe946de3
5 changed files with 80 additions and 2 deletions
|
|
@ -28,6 +28,14 @@ install:
|
|||
|
||||
script:
|
||||
- php bin/phpunit --coverage-clover=coverage.xml
|
||||
# Perform some simple linting if everything is correct
|
||||
- ./bin/console lint:yaml config --parse-tags
|
||||
- ./bin/console lint:twig templates --env=prod
|
||||
- ./bin/console lint:xliff translations
|
||||
# Check if we dont use dependencies with known vulnerabilities
|
||||
- ./bin/console security:check
|
||||
# Check doctrine mapping
|
||||
- ./bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue