File: buddy.yml

Recommend this page to a friend!
  Classes of Massimiliano Arione  >  PHP Chess Engine  >  buddy.yml  >  Download  
File: buddy.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Chess Engine
Manage the moves of a chess game
Author: By
Last change:
Date: 8 days ago
Size: 2,342 bytes
 

Contents

Class file image Download
- pipeline: "test"
  trigger_mode: "ON_EVERY_PUSH"
  ref_name: "refs/*"
  ref_type: "WILDCARD"
  trigger_condition: "ALWAYS"
  actions:
      - action: "Execute: composer build php 7.4"
        type: "BUILD"
        working_directory: "/buddy/chess"
        docker_image_name: "library/php"
        docker_image_tag: "7.4.16"
        execute_commands:
            - "cd docs && ./get-resources.sh && cd .."
            - "rm -rf composer.lock"
            - "composer validate"
            - "composer install"
            - "composer build-ci"
            - "bash <(curl -s https://codecov.io/bash)"
        setup_commands:
            - "echo \"memory_limit=-1\" >> /usr/local/etc/php/conf.d/buddy.ini"
            - "apt-get update && apt-get install -y git zip libfreetype6-dev libjpeg62-turbo-dev libpng-dev"
            - "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"
            - "pecl install pcov && docker-php-ext-enable pcov"
            - "docker-php-ext-configure gd --with-freetype --with-jpeg"
            - "docker-php-ext-install gd"
        volume_mappings:
            - "/:/buddy/chess"
        trigger_condition: "ALWAYS"
        shell: "BASH"
      - action: "Execute: composer build php 8.0"
        type: "BUILD"
        working_directory: "/buddy/chess"
        docker_image_name: "library/php"
        docker_image_tag: "8.0.3"
        execute_commands:
            - "cd docs && ./get-resources.sh && cd .."
            - "rm -rf composer.lock"
            - "composer validate"
            - "composer install"
            - "composer build-ci"
            - "composer phpstan"
            - "bash <(curl -s https://codecov.io/bash)"
        setup_commands:
            - "echo \"memory_limit=-1\" >> /usr/local/etc/php/conf.d/buddy.ini"
            - "apt-get update && apt-get install -y git zip libfreetype6-dev libjpeg62-turbo-dev libpng-dev"
            - "curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer"
            - "pecl install pcov && docker-php-ext-enable pcov"
            - "docker-php-ext-configure gd --with-freetype --with-jpeg"
            - "docker-php-ext-install gd"
        volume_mappings:
            - "/:/buddy/chess"
        trigger_condition: "ALWAYS"
        shell: "BASH"

For more information send a message to info at phpclasses dot org.