summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-21 23:24:00 +0000
committerAndres Rey <[email protected]>2018-11-21 23:24:00 +0000
commit4b14d66e793c6d3cdb3593a8eb48faa407fd46e0 (patch)
tree2275ef788fe972a79d21418bfa8c91bfa71b5076 /Makefile
parent193831719f5d3043075d974f59a2238ccbdd8566 (diff)
Add makefile and update readme
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