PHP Classes

File: .circleci/config.yml

Recommend this page to a friend!
  Classes of Axel Pardemann   PHP Objects Extensions   .circleci/config.yml   Download  
File: .circleci/config.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Objects Extensions
Add functions to objects using another class
Author: By
Last change:
Date: 5 years ago
Size: 1,930 bytes
 

Contents

Class file image Download
version: 2.1 executors: php7_3: docker: - image: circleci/php:7.3 commands: prepare: steps: - run: sudo apt update - run: sudo apt full-upgrade - run: sudo composer self-update - checkout install_php_dependencies: parameters: composer_flags: type: string default: "" steps: - run: composer update << parameters.composer_flags >> --no-interaction --prefer-source prepare_coverage: steps: - run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - run: chmod +x cc-test-reporter - run: ./cc-test-reporter before-build run_tests: steps: - run: composer style-check - run: composer analyse - run: composer test run_tests_coverage: steps: - run: composer style-check - run: composer analyse - run: composer test-coverage - run: ./cc-test-reporter format-coverage --input-type clover --output build/code-climate-coverage.json build/coverage.xml - store_artifacts: path: build upload_coverage: steps: - run: ./cc-test-reporter upload-coverage --input build/code-climate-coverage.json jobs: php7_3: executor: php7_3 steps: - prepare - install_php_dependencies - prepare_coverage - run_tests_coverage - upload_coverage php7_3-prefer-lowest: executor: php7_3 steps: - prepare - install_php_dependencies: composer_flags: --prefer-lowest - run_tests workflows: version: 2 build: jobs: - php7_3 - php7_3-prefer-lowest