Skip to content

pyguerder/bitbucket-pipelines-php71

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Dockerfile 100.0%