summaryrefslogtreecommitdiff
path: root/plugins/af_readability/vendor/andreskrey/readability.php/Makefile
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-26 17:35:58 +0300
committerAndrew Dolgov <[email protected]>2021-02-26 17:35:58 +0300
commitcf1ede0ba8c687d9bfadf1c372546657968f1dd8 (patch)
tree3394cbf3d1cd60d4e1e42f8ef0aa88c4eef368b9 /plugins/af_readability/vendor/andreskrey/readability.php/Makefile
parent1baf8c521785ab4dc8f474fdd772280737c7e254 (diff)
pull latest readability-php via composer
Diffstat (limited to 'plugins/af_readability/vendor/andreskrey/readability.php/Makefile')
-rw-r--r--plugins/af_readability/vendor/andreskrey/readability.php/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/af_readability/vendor/andreskrey/readability.php/Makefile b/plugins/af_readability/vendor/andreskrey/readability.php/Makefile
new file mode 100644
index 000000000..b3bf15040
--- /dev/null
+++ b/plugins/af_readability/vendor/andreskrey/readability.php/Makefile
@@ -0,0 +1,30 @@
+.PHONY: test-all
+
+test-all: start test-7.3 test-7.2 test-7.1 test-7.0 stop
+
+test-7.3:
+ docker-compose exec php-7.3-libxml-2.9.9 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+
+test-7.2:
+ docker-compose exec php-7.2-libxml-2.9.9 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+
+test-7.1:
+ docker-compose exec php-7.1-libxml-2.9.9 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+
+test-7.0:
+ docker-compose exec php-7.0-libxml-2.9.9 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+
+start:
+ docker-compose up -d php-7.3-libxml-2.9.9 php-7.2-libxml-2.9.9 php-7.1-libxml-2.9.9 php-7.0-libxml-2.9.9
+
+stop:
+ docker-compose stop
+
+test-all-versions:
+ for php_version in 7.0 7.1 7.2 7.3; do \
+ for libxml_version in 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8 2.9.9; 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