summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..99616c7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+.PHONY: test-all test-7.2 test-7.1 test-7.0
+
+test-all: start test-7.2 test-7.1 test-7.0
+
+test-7.2:
+ docker-compose exec php-7.2 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+
+test-7.1:
+ docker-compose exec php-7.1 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+
+test-7.0:
+ docker-compose exec php-7.0 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
+
+start:
+ docker-compose up -d \ No newline at end of file