summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2019-06-11 23:13:05 +0100
committerAndres Rey <[email protected]>2019-06-11 23:13:05 +0100
commite38cbfaebd1f826233f7a0e07c66a52f44e9b796 (patch)
tree1ee0cb7785c82c0849eb07e94e3cfc962c284448
parent7b2cf4b2a6b4de84adcef158ed7ace439afbd0ce (diff)
Add PHP7.3 support
-rw-r--r--Makefile7
-rw-r--r--docker-compose.yml6
-rw-r--r--docker/php-7.3/Dockerfile2
3 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index be95942..8569846 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
-.PHONY: test-all start test-7.2 test-7.1 test-7.0 stop
+.PHONY: test-all start test-7.3 test-7.2 test-7.1 test-7.0 stop
-test-all: start test-7.2 test-7.1 test-7.0 stop
+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 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
test-7.2:
docker-compose exec php-7.2 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
diff --git a/docker-compose.yml b/docker-compose.yml
index fe81cdf..8582ff2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -18,3 +18,9 @@ services:
volumes:
- ./:/app
tty: true
+
+ php-7.3:
+ build: ./docker/php-7.3
+ volumes:
+ - ./:/app
+ tty: true
diff --git a/docker/php-7.3/Dockerfile b/docker/php-7.3/Dockerfile
new file mode 100644
index 0000000..1350e97
--- /dev/null
+++ b/docker/php-7.3/Dockerfile
@@ -0,0 +1,2 @@
+FROM php:7.3-cli
+RUN pecl install xdebug && docker-php-ext-enable xdebug \ No newline at end of file