Skip to content

Commit 047b1e3

Browse files
committed
minor #653 Add validation of the composer files on Travis (stof, javiereguiluz)
This PR was merged into the master branch. Discussion ---------- 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 Commits ------- 5deb547 Minor change to make things consistent 2493692 Update lock file for the move of deps to dev deps 99246aa Add validation of the composer files on Travis
2 parents 6d3cb7d + 5deb547 commit 047b1e3

File tree

2 files changed

+169
-167
lines changed

2 files changed

+169
-167
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

composer.lock

Lines changed: 167 additions & 167 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)