Skip to content

Commit 2faf341

Browse files
committed
Adds Doctrine's mapping validation on Travis.
Runs `doctrine:schema:validate` command with database sync skipping and no interaction flags.
1 parent 180d6a6 commit 2faf341

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ script:
4141
- ./bin/console security:check --end-point=http://security.sensiolabs.org/check_lock
4242
# this checks that the composer.json and composer.lock files are valid
4343
- composer validate --strict
44+
# this checks that Doctrine's mapping configurations are valid
45+
- ./bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction

0 commit comments

Comments
 (0)