Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.18 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.18 KB

Bitbucket Pipelines PHP 7.2 image

Based on Ubuntu 18.04

Packages installed

  • 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, php7.2-gd and php7.2-gmp
  • wget, curl, unzip
  • Composer
  • Mysql 5.7
  • NPM
  • Node + Yarn

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