summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <[email protected]>2021-08-15 15:41:35 +0200
committerFiveFilters.org <[email protected]>2021-08-15 15:41:35 +0200
commit105d9c1696213172153535ab68a816b7b8289e0a (patch)
treea612a7105d89ce07895aaf100ad18a8baab25459
parentd536e5f04e135aab3354ca98981a811d03d35d74 (diff)
Update Makefile for testing with supported versions
-rw-r--r--Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index b3bf150..c5123f1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,25 @@
.PHONY: test-all
-test-all: start test-7.3 test-7.2 test-7.1 test-7.0 stop
+test-all: start test-7.3 test-7.4 test-8 stop
test-7.3:
- docker-compose exec php-7.3-libxml-2.9.9 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+ docker-compose exec php-7.3-libxml-2.9.10 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.4:
+ docker-compose exec php-7.4-libxml-2.9.10 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
+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.9 php-7.2-libxml-2.9.9 php-7.1-libxml-2.9.9 php-7.0-libxml-2.9.9
+ 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.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 \
+ 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 \