Bitbucket Pipelines PHP 7.4 image
![](https://camo.githubusercontent.com/08b7ca44bd9d34022d71c3c53c5e44cd59955e54db41edb25f88b8c5f2daacb9/68747470733a2f2f696d616765732e6d6963726f6261646765722e636f6d2f6261646765732f696d6167652f7079677565726465722f6269746275636b65742d706970656c696e65732d70687037342e737667)
php7.4-zip
, php7.4-xml
, php7.4-mbstring
, php7.4-curl
, php7.4-json
, php7.4-imap
, php7.4-mysql
, php7.4-tokenizer
, php7.4-xdebug
, php7.4-intl
, php7.4-soap
, php7.4-pdo
, php7.4-cli
and php7.4-gd
- wget, curl, unzip
- Composer
- Mysql 5.7
- Node + Yarn
Sample bitbucket-pipelines.yml
image: pyguerder/bitbucket-pipelines-php74
pipelines:
default:
- step:
script:
- service mysql start
- mysql -h localhost -u root -proot -e "CREATE DATABASE test;"
- composer install --no-interaction --no-progress --prefer-dist
- ./vendor/phpunit/phpunit/phpunit -v --coverage-text --colors=never --stderr