Skip to content

pyguerder/bitbucket-pipelines-php81

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitbucket Pipelines PHP 8.1 image

Based on Ubuntu 22.04

Packages installed

  • 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 and php8.1-gd
  • wget, curl, unzip
  • Composer 2
  • Mysql 8 (or 5.7 if you use pyguerder/bitbucket-pipelines-php81:mysql5)
  • Node 14 + Yarn

Sample bitbucket-pipelines.yml

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

About

Bitbucket Pipelines PHP 8.1 image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published