aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-04-23 15:38:17 +0200
committerVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2020-04-25 17:44:38 +0200
commit03d425bdd9a639446ae72ce6556d753f2f162f83 (patch)
tree37fda320a23b133e4db1033c3025ab3b6ef507a9 /Makefile
parent94714d94f82d49cf8536d16505c47aceffb01e91 (diff)
downloadwcms-03d425bdd9a639446ae72ce6556d753f2f162f83.tar.gz
wcms-03d425bdd9a639446ae72ce6556d753f2f162f83.zip
tests(ci): problemMatchers, 3 php versions, optims
Add problem matchers for phpcs, phpstan and phpunit. Add composer cache Test over multiple php version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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):