summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-25 12:47:06 +0000
committerGitHub <[email protected]>2018-11-25 12:47:06 +0000
commite1b31f9284225cc7121d8798d4757ea81704e44c (patch)
tree8ed70368b49a0fe3da8a4b7cc1057f97446dcdc5 /Makefile
parent992a11260de32a036c932a8ba61bcc8a46c34dd1 (diff)
parentfcbb76a9a015b85bab63324e10ddfa993be17f78 (diff)
Merge pull request #71 from andreskrey/development
v2.0.0
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