phpcq/travis-configuration-check
最新稳定版本:1.3.1
Composer 安装命令:
composer require phpcq/travis-configuration-check
包简介
Validation tool to ensure that the contents of a .travis.yml make sense.
README 文档
README
Validate .travis.yml against composer.json.
This check performs several tests.
The first test ensures that a PHP version is set in the composer.json and this version is also covered by the .travis.yml.
The second test is to ensure that all allowed versions in .travis.yml are available at travis-ci.
Optionally it tests, that no unmaintained PHP version is set in the composer.json and .travis.yml and errors when an unmaintained PHP version is mentioned. Currently this means any version prior to PHP 5.4.
Usage
Add to your composer.json in the require-dev section:
"phpcq/travis-configuration-check": "~1.0"
Call the binary:
./vendor/bin/check-travis-configuration.php
Optionally pass the root of the project to check:
./vendor/bin/check-travis-configuration.php /path/to/some/project
To additionally check for unmaintained PHP versions:
./vendor/bin/check-travis-configuration.php --unmaintained-version-error
To additionally check for unmaintained PHP versions within another project:
./vendor/bin/check-travis-configuration.php --unmaintained-version-error /path/to/some/project
统计信息
- 总下载量: 39.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-11