Bitbucket Pipelines PHP 7.2 image
![](https://camo.githubusercontent.com/053710a4301a296adc5e5d0162c9f6e1918c0d7e1dd19c2b9624e8de045ef395/68747470733a2f2f696d616765732e6d6963726f6261646765722e636f6d2f6261646765732f696d6167652f7079677565726465722f6269746275636b65742d706970656c696e65732d70687037322e737667)
php7.2-zip
, php7.2-xml
, php7.2-mbstring
, php7.2-curl
, php7.2-json
, php7.2-imap
, php7.2-mysql
, php7.2-tokenizer
, php7.2-xdebug
, php7.2-intl
, php7.2-soap
, php7.2-pdo
, php7.2-cli
and php7.2-gd
- wget, curl, zip
- Composer
- Mysql 5.7
- NPM
Sample bitbucket-pipelines.yml
image: pyguerder/bitbucket-pipelines-php72
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