diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-04-23 15:38:17 +0200 |
---|---|---|
committer | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-04-25 17:44:38 +0200 |
commit | 03d425bdd9a639446ae72ce6556d753f2f162f83 (patch) | |
tree | 37fda320a23b133e4db1033c3025ab3b6ef507a9 /Makefile | |
parent | 94714d94f82d49cf8536d16505c47aceffb01e91 (diff) | |
download | wcms-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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): |