From 03d425bdd9a639446ae72ce6556d753f2f162f83 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Thu, 23 Apr 2020 15:38:17 +0200 Subject: tests(ci): problemMatchers, 3 php versions, optims Add problem matchers for phpcs, phpstan and phpunit. Add composer cache Test over multiple php version --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b68717a..1204a5a 100644 --- a/Makefile +++ b/Makefile @@ -166,7 +166,7 @@ check: vendor lint analyse test # Lint php code with phpcs. .PHONY: lint lint: $(phpcs_dir) - phpcs --report-full --report-checkstyle=$(phpcs_dir)/checkstyle.xml + phpcs --report-full --report-summary --cache=$(phpcs_dir)/result.cache # Analyse php code with phpstan. .PHONY: analyse @@ -176,7 +176,7 @@ analyse: # Test php code with phpunit. .PHONY: test test: $(phpunit_dir) - phpunit --log-junit $(phpunit_dir)/junit.xml + phpunit # Create dirs if the do not exist $(dirs): -- cgit v1.2.3