decipher/dcir
Composer 安装命令:
composer require decipher/dcir
包简介
Drupal common CI runner
README 文档
README
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.
Running DCIR locally
Requirement(s):
Steps:
Run the following command from the module directory you wish to test:
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:
CircleCI
circle.yml
machine:
services:
- docker
test:
override:
- docker run --rm -v $(pwd):/dcir -it deciphered/dcir:latest
Travis CI
.travis.yml
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.
In the case the discovery this doesn't work as required, a configuration file can be added to the project.
.dcir.yml
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.
decipher/dcir 适用场景与选型建议
decipher/dcir 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 61 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 06 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 decipher/dcir 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 decipher/dcir 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-06-15