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
andphp7.4-gd
- wget, curl, unzip
- Composer
- Mysql 8 (or 5.7 if you use
pyguerder/bitbucket-pipelines-php74:mysql5
) - Node + Yarn
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