summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-29 18:53:45 +0000
committerAndres Rey <[email protected]>2018-11-29 18:53:45 +0000
commitba28bd076a12693ab0a065526d6f601770ccb83d (patch)
tree4483f8f94085f08dcf88591b66cf3576481bedec /Makefile
parentc7aafe56809c75969c8c96aeb2b28169d4b5cddc (diff)
Update make file to stop process after finishing testing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 99616c7..be95942 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-.PHONY: test-all test-7.2 test-7.1 test-7.0
+.PHONY: test-all start test-7.2 test-7.1 test-7.0 stop
-test-all: start test-7.2 test-7.1 test-7.0
+test-all: start test-7.2 test-7.1 test-7.0 stop
test-7.2:
docker-compose exec php-7.2 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml
@@ -12,4 +12,7 @@ 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
+ docker-compose up -d
+
+stop:
+ docker-compose stop