Public | Automated Build

Last pushed: 5 months ago
Short Description
Image with PHP 7.1, MySQL 5.7 & composer to test projects in Bitbucket Pipelines & CircleCI 2.0.
Full Description

Bitbucket Pipelines PHP 7.1 image

Based on Ubuntu 16.04

Packages installed

  • php7.1-zip, php7.1-xml, php7.1-mbstring, php7.1-curl, php7.1-json, php7.1-imap, php7.1-mysql and php7.1-tokenizer
  • Composer
  • Mysql 5.7

Sample bitbucket-pipelines.yml

image: pyguerder/bitbucket-pipelines-php71
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
Docker Pull Command
Owner
pyguerder

Comments (0)