From 8d02c5e935626d525530d3da70f6df34d1f20bfa Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Mon, 24 Jun 2019 15:44:06 +0800 Subject: [PATCH] Fix code coverage test for single commits --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1339ea7a1..523415a45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)