MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/artinside/www/sabbry/vendor/flyingluscas/correios-php/.circleci/config.yml
version: '2'

jobs:
  lint:
    docker:
      - image: php:alpine
    steps:
      - checkout
      - run:
          name: Install Composer
          command: |
            curl -sS https://getcomposer.org/installer | php
            mv composer.phar /usr/local/bin/composer
      - run:
          name: Composer Install
          command: composer install --no-progress --no-interaction
      - run:
          name: Composer Check Style
          command: composer check-style

  test-php56:
    docker:
      - image: php:5.6-alpine
    steps:
      - checkout
      - run:
          name: Install xDebug Extension
          command: |
            apk add --no-cache --no-progress g++ make autoconf bash
            pecl -q install xdebug-2.5.5
            docker-php-ext-enable xdebug
      - run:
          name: Install Composer
          command: |
            curl -sS https://getcomposer.org/installer | php
            mv composer.phar /usr/local/bin/composer
      - run:
          name: Composer Install
          command: composer install --no-progress --no-interaction
      - run:
          name: Composer Test
          command: composer test -- --coverage-text
      - run:
          name: Upload Code Coverage
          command: |
            curl -s https://codecov.io/bash > .codecov
            chmod +x .codecov
            ./.codecov
      - store_artifacts:
          path: build/coverage
          destination: coverage

  test-php70:
    docker:
      - image: php:7.0-alpine
    steps:
      - checkout
      - run:
          name: Install Composer
          command: |
            curl -sS https://getcomposer.org/installer | php
            mv composer.phar /usr/local/bin/composer
      - run:
          name: Composer Install
          command: composer install --no-progress --no-interaction
      - run:
          name: Composer Test
          command: composer test

  test-php71:
    docker:
      - image: php:7.1-alpine
    steps:
      - checkout
      - run:
          name: Install Composer
          command: |
            curl -sS https://getcomposer.org/installer | php
            mv composer.phar /usr/local/bin/composer
      - run:
          name: Composer Install
          command: composer install --no-progress --no-interaction
      - run:
          name: Composer Test
          command: composer test -- --coverage-text

  test-php72:
    docker:
      - image: php:7.2-alpine
    steps:
      - checkout
      - run:
          name: Install Composer
          command: |
            curl -sS https://getcomposer.org/installer | php
            mv composer.phar /usr/local/bin/composer
      - run:
          name: Composer Install
          command: composer install --no-progress --no-interaction
      - run:
          name: Composer Test
          command: composer test

workflows:
  version: 2
  tests:
    jobs:
      - lint
      - test-php56
      - test-php70
      - test-php71
      - test-php72