Skip to content

Commit 99246aa

Browse files
committed
Add validation of the composer files on Travis
This performs validation of the composer metadata to ensure they are valid: - composer.json does not contain any error - composer.json does not trigger any warning (thanks to the strict mode) - composer.lock is uptodate
1 parent 6d3cb7d commit 99246aa

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
@@ -29,3 +29,5 @@ script:
2929
- ./bin/console lint:xliff translations
3030
# this checks that the application doesn't use dependencies with known security vulnerabilities
3131
- ./bin/console security:check --end-point=http://security.sensiolabs.org/check_lock
32+
# This checks that the composer.json and composer.lock files are valid
33+
- composer validate --strict

0 commit comments

Comments
 (0)