php8.1-zip
,php8.1-xml
,php8.1-mbstring
,php8.1-curl
,php8.1-json
,php8.1-imap
,php8.1-mysql
,php8.1-tokenizer
,php8.1-xdebug
,php8.1-intl
,php8.1-soap
,php8.1-pdo
,php8.1-cli
,php8.1-apcu
,php8.1-redis
andphp8.1-gd
- wget, curl, unzip
- Composer 2
- Mysql 8 (or 5.7 if you use
pyguerder/bitbucket-pipelines-php81:mysql5
) - Node 14 + Yarn
image: pyguerder/bitbucket-pipelines-php81
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