Created
January 28, 2021 12:42
-
-
Save karrikas/f809b80a0e650fdce29720622e6df2ae to your computer and use it in GitHub Desktop.
Phpunit test in Symfony proyect with bitbucket
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: docker/compose | |
options: | |
docker: true | |
pipelines: | |
default: | |
- step: | |
size: 2x # double memory (8GB) for this step | |
script: | |
- ls -alh | |
- docker-compose up -d | |
- sleep 10 | |
- docker-compose ps | |
- docker-compose exec -T php composer install --dev | |
- docker-compose exec -T php php bin/phpunit --testdox | |
- docker-compose down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment