diff options
author | fox <[email protected]> | 2021-08-18 07:51:19 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-08-18 07:51:19 +0300 |
commit | 28eafa2bcd6e327e7014174c4efd4c10d9491e27 (patch) | |
tree | efd9e28718eff791dcaa7ffddbac44c38deedfb8 /plugins/af_readability/vendor/fivefilters/readability.php/Makefile | |
parent | a73e3bec45c5523910c711cf882976b71781ac9e (diff) | |
parent | b6b6771d8d7dcf13938d1578099074b0123a5d5e (diff) |
Merge pull request 'pull latest readability-php via composer' (#42) from niehztog/tt-rss:update-readability into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/42
Diffstat (limited to 'plugins/af_readability/vendor/fivefilters/readability.php/Makefile')
-rw-r--r-- | plugins/af_readability/vendor/fivefilters/readability.php/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/af_readability/vendor/fivefilters/readability.php/Makefile b/plugins/af_readability/vendor/fivefilters/readability.php/Makefile new file mode 100644 index 000000000..b3bf15040 --- /dev/null +++ b/plugins/af_readability/vendor/fivefilters/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 |