forked from APY/APYBreadcrumbTrailBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (24 loc) · 1009 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
DIR := ${CURDIR}
test-php72:
docker run --rm -v $(DIR):/project -w /project webdevops/php:7.2 $(MAKE) test
test-php73:
docker run --rm -v $(DIR):/project -w /project webdevops/php:7.3 $(MAKE) test
test-php74:
docker run --rm -v $(DIR):/project -w /project webdevops/php:7.4 $(MAKE) test
test:
composer update --prefer-dist --no-interaction ${COMPOSER_PARAMS}
composer test
test-lowest:
COMPOSER_PARAMS='--prefer-lowest' $(MAKE) test
test-php72-lowest:
docker run --rm -v $(DIR):/project -w /project webdevops/php:7.2 $(MAKE) test-lowest
test-php73-lowest:
docker run --rm -v $(DIR):/project -w /project webdevops/php:7.3 $(MAKE) test-lowest
test-php74-lowest:
docker run --rm -v $(DIR):/project -w /project webdevops/php:7.4 $(MAKE) test-lowest
cs:
docker run --rm -v $(DIR):/project -w /project jakzal/phpqa php-cs-fixer fix -vv ${CS_PARAMS}
test-cs:
CS_PARAMS='--dry-run' $(MAKE) cs
static:
docker run --rm -v $(DIR):/project -w /project jakzal/phpqa phpstan analyze -c .phpstan.neon