2017 © Pedro Peláez
 

library dcir

Drupal common CI runner

image

decipher/dcir

Drupal common CI runner

  • Monday, July 18, 2016
  • by Decipher
  • Repository
  • 1 Watchers
  • 1 Stars
  • 54 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 13 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Drupal common CI Runner

Drupal common CI Runner (DCIR) is a Docker based tool for executing automated testing of Drupal modules on common CI providers as well as locally., (*1)

Running DCIR locally

Requirement(s):

Steps:

Run the following command from the module directory you wish to test:, (*2)

docker run --rm -it -v $(pwd):/dcir deciphered/dcir:latest

Running DCIR via Continuous Integration (CI)

Each CI runner has it's own configuration format, simply place the relevant file below into your project:, (*3)

CircleCI

circle.yml, (*4)

machine:
  services:
    - docker

test:
  override:
    - docker run --rm -v $(pwd):/dcir -it deciphered/dcir:latest

Travis CI

.travis.yml, (*5)

sudo: required

language: php

services:
  - docker

script:
  - docker run -v $(pwd):/dcir -it deciphered/dcir-5.6:develop

Advanced configuration

DCIR doesn't requires zero configuration out of the box, it uses auto-magic detection to determine the relevant configuration for the project., (*6)

In the case the discovery this doesn't work as required, a configuration file can be added to the project., (*7)

.dcir.yml, (*8)

drupal:
  # The Drupal core version: 7, 8 (default).
  #core: 8

  # The Drupal project being tested.
  project: "PROJECT_MACHINE_NAME"

  # The Drupal project type; module (default).
  #project_type: "module"

# The simpletest group to be run.
simpletest:
  group: "SIMPLETEST_GROUP_NAME"

Note: Be sure to replace the relevant placeholders and uncomment out the configuration as required., (*9)

The Versions

18/07 2016

dev-develop

dev-develop https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

15/07 2016

dev-master

9999999-dev https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

15/07 2016

0.6.2

0.6.2.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

15/07 2016

0.6.1

0.6.1.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

15/07 2016

0.6.0

0.6.0.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

14/07 2016

0.5.0

0.5.0.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

22/06 2016

0.4.1

0.4.1.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

22/06 2016

0.4.0

0.4.0.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

21/06 2016

0.3.0

0.3.0.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

The Requires

 

by Stuart Clark

17/06 2016

0.2.0

0.2.0.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

by Stuart Clark

16/06 2016

0.1.0

0.1.0.0 https://github.com/Decipher/dcir

Drupal common CI runner

  Sources   Download

GPL-2.0+

by Stuart Clark