Public Repository

Last pushed: 2 months ago
Short Description
PHP7 + PHPSPEC3 docker image. Bitbucket pipeline compatible.
Full Description

Command Line

Very simple to use.

Just run this command where you would run phpspec in a traditional setup:

docker run -t -v $(pwd):/app circlical/phpspec-php7 run

Bitbucket Pipeline

This module was built to act as a Bitbucket pipeline test runner. Simply configure your Bitbucket pipeline something like so:

image: circlical/phpspec-php7:latest

pipelines:
  branches:
    master:
      - step:
          script:
            - composer install --prefer-source --no-interaction
            - vendor/bin/phpspec --config=phpspec.yml run
    feature/*:
      - step:
          script:
            - composer install --prefer-source --no-interaction
            - vendor/bin/phpspec --config=phpspec.yml run
Docker Pull Command
Owner
circlical

Comments (0)