Fix code coverage test for single commits
This commit is contained in:
parent
95b9a8a9fd
commit
8d02c5e935
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue