Bitbucket Pipelines PHP 7.0 image
php7.0-fpm
, php7.0-mcrypt
, mongod
, xdebug
, php7.0-zip
, php7.0-xml
, php7.0-mbstring
, php7.0-curl
, php7.0-json
, php7.0-imap
, php7.0-mysql
and php7.0-tokenizer
- Composer
- Deployer
- Node / NPM / Gulp / Yarn
- Mysql 5.7
Sample bitbucket-pipelines.yml
image: edbizarro/bitbucket-pipelines-php7
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
- npm install --no-spin
- gulp
- ./vendor/phpunit/phpunit/phpunit -v --coverage-text --colors=never --stderr