Fix code coverage test for single commits

This commit is contained in:
Ben Thomson 2019-06-24 15:44:06 +08:00
parent 95b9a8a9fd
commit 8d02c5e935
No known key found for this signature in database
GPG Key ID: BD1BF04E944DBD80
1 changed files with 1 additions and 1 deletions

View File

@ -50,4 +50,4 @@ jobs:
- stage: code quality
if: type = push AND (branch = develop OR branch = master)
php: 7.1
script: ./vendor/bin/phpcs --colors -nq --report="full" --extensions="php" $(git diff --name-only $TRAVIS_COMMIT)
script: ./vendor/bin/phpcs --colors -nq --report="full" --extensions="php" $(git show --name-only --pretty="" $TRAVIS_COMMIT)