Skip to content

Commit

Permalink
minor #653 Add validation of the composer files on Travis (stof, javi…
Browse files Browse the repository at this point in the history
…ereguiluz)

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
  • Loading branch information
javiereguiluz committed Sep 20, 2017
2 parents 6d3cb7d + 5deb547 commit 047b1e3
Show file tree
Hide file tree
Showing 2 changed files with 169 additions and 167 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -29,3 +29,5 @@ script:
- ./bin/console lint:xliff translations
# this checks that the application doesn't use dependencies with known security vulnerabilities
- ./bin/console security:check --end-point=http://security.sensiolabs.org/check_lock
# this checks that the composer.json and composer.lock files are valid
- composer validate --strict
334 changes: 167 additions & 167 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 047b1e3

Please sign in to comment.