bernard/drivers

dev-master / 0.1.x-dev 2018-03-19 13:45 UTC

README

Latest Version Build Status Code Coverage Quality Score Total Downloads

Official Bernard drivers.

Install

Via Composer

$ composer require bernard/drivers

Drivers

Testing

Running tests locally

Build the provided Dockerfile:

$ docker build -t bernardphp .

Start the services using Docker Compose:

$ docker-compose up -d

Wait for them to start. Then execute the test suites:

$ docker run --rm -it -v $PWD:/app -w /app --network drivers_default bernard vendor/bin/phpunit
$ docker run --rm -it -v $PWD:/app -w /app --network drivers_default bernard vendor/bin/phpunit --group integration

drivers_default is the network name created by Docker Compose.

License

The MIT License (MIT). Please see License File for more information.