1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-16 19:58:14 +01:00
intervention_image/docker-compose.yml
2024-01-18 14:12:54 +01:00

30 lines
727 B
YAML

version: '3'
services:
tests:
build: ./
working_dir: /project
command: bash -c "composer install && ./vendor/bin/phpunit -vvv"
volumes:
- ./:/project
coverage:
build: ./
working_dir: /project
command: bash -c "composer install && ./vendor/bin/phpunit --coverage-text"
volumes:
- ./:/project
environment:
- XDEBUG_MODE=coverage
analysis:
build: ./
working_dir: /project
command: bash -c "composer install && ./vendor/bin/phpstan analyze --memory-limit=512M --level=4 ./src"
volumes:
- ./:/project
standards:
build: ./
working_dir: /project
command: bash -c "composer install && ./vendor/bin/phpcs"
volumes:
- ./:/project