PHP Classes

File: .circleci/config.yml

Recommend this page to a friend!
  Classes of Zacchaeus Bolaji  >  PHP Validate Nigerian Phone  >  .circleci/config.yml  >  Download  
File: .circleci/config.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Validate Nigerian Phone
Parse and validate Nigeria phone numbers
Author: By
Last change:
Date: 2 years ago
Size: 1,390 bytes


Class file image Download
# PHP CircleCI 2.0 configuration file
# Check for more details
version: 2
      # Specify the version you desire here
      - image: circleci/php:7.1-node-browsers

      # Specify service dependencies here if necessary
      # CircleCI maintains a library of pre-built images
      # documented at
      # Using the RAM variation mitigates I/O contention
      # for database intensive operations.
      # - image: circleci/mysql:5.7-ram
      # - image: redis:2.8.19

      - checkout

      - run: sudo apt update # PHP CircleCI 2.0 Configuration File# PHP CircleCI 2.0 Configuration File sudo apt install zlib1g-dev libsqlite3-dev
      - run: sudo docker-php-ext-install zip

      # Download and cache dependencies
      - restore_cache:
            # "composer.lock" can be used if it is committed to the repo
            - v1-dependencies-{{ checksum "composer.json" }}
            # fallback to using the latest cache if no exact match is found
            - v1-dependencies-

      - run: composer install -n --prefer-dist

      - save_cache:
          key: v1-dependencies-{{ checksum "composer.json" }}
            - ./vendor

      # run tests with phpunit or codecept
      - run: ./vendor/bin/phpunit
For more information send a message to info at phpclasses dot org.