[add] Testing the docker build in CI
This commit is contained in:
parent
f93b41f14e
commit
663ea7cc3e
@ -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`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user