Run some linters on TravisCI to ensure basic integrity of files.

This commit is contained in:
Jan Böhmer 2019-11-21 22:27:17 +01:00
parent 50a173d57c
commit 26fe946de3
5 changed files with 80 additions and 2 deletions

View file

@ -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)