[add] Testing the docker build in CI

This commit is contained in:
Jose Pabl Domingo Aramburo Sanchez 2018-08-08 07:41:29 +00:00
parent f93b41f14e
commit 663ea7cc3e

View File

@ -14,8 +14,9 @@ phases:
- echo Entered the build phase... - echo Entered the build phase...
- echo Build started on `date` - echo Build started on `date`
- composer test - composer test
- sudo docker-compose up --build -d
post_build: post_build:
commands: commands:
- echo Entered the post_build phase... - echo Entered the post_build phase...
- sudo docker-compose down --rmi all -v
- echo Build completed on `date` - echo Build completed on `date`