From 0226e0ca0dc70f9a0310b3eef045ee1c1e0ca3ac Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Dec 2022 20:00:46 +0300 Subject: split into a separate repo --- vendor/fivefilters/readability.php/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vendor/fivefilters/readability.php/Makefile (limited to 'vendor/fivefilters/readability.php/Makefile') diff --git a/vendor/fivefilters/readability.php/Makefile b/vendor/fivefilters/readability.php/Makefile new file mode 100644 index 0000000..c5123f1 --- /dev/null +++ b/vendor/fivefilters/readability.php/Makefile @@ -0,0 +1,27 @@ +.PHONY: test-all + +test-all: start test-7.3 test-7.4 test-8 stop + +test-7.3: + docker-compose exec php-7.3-libxml-2.9.10 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml + +test-7.4: + docker-compose exec php-7.4-libxml-2.9.10 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml + +test-8: + docker-compose exec php-8-libxml-2.9.10 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml + +start: + docker-compose up -d php-7.3-libxml-2.9.10 php-7.4-libxml-2.9.10 php-8-libxml-2.9.10 + +stop: + docker-compose stop + +test-all-versions: + for php_version in 7.3 7.4 8; do \ + for libxml_version in 2.9.4 2.9.5 2.9.10 2.9.12; do \ + docker-compose up -d php-$$php_version-libxml-$$libxml_version; \ + docker-compose exec php-$$php_version-libxml-$$libxml_version php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml; \ + done \ + done + docker-compose stop -- cgit v1.2.3