version: 0.2 phases: install: commands: - echo Entered the install phase... - cd api-payroll - composer install pre_build: commands: - echo Entered the pre_build phase... build: commands: - echo Entered the build phase... - echo Build started on `date` - composer test - sudo docker-compose up --build -d post_build: commands: - echo Entered the post_build phase... - sudo docker-compose down --rmi all -v - echo Build completed on `date`