承接 stolt/composer-travis-lint 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

stolt/composer-travis-lint

最新稳定版本:v1.0.2

Composer 安装命令:

composer require stolt/composer-travis-lint

包简介

Composer script to lint a Travis CI configuration file.

README 文档

README

Build Status Version PHP Version composer.lock available

composer-travis-lint is a Composer script that lints a project/micro-package its Travis CI configuration aka its .travis.yml file.

Installation

The Composer script should be installed as a development dependency through Composer.

composer require --dev stolt/composer-travis-lint

Usage

Once installed add the Composer script to the existing composer.json and use it afterwards via composer travis-lint.

{
    "scripts": {
        "travis-lint": "Stolt\\Composer\\Travis::lint"
    },
}

On a first lint run the Composer script will create a cache file called .ctl.cache to avoid making unnecessary lint requests against the Travis CI API. This file should prolly not be .gitignored but defo be kept out of releases and therefore end up in the .gitattributes file.

New lint requests will only be made when the Travis CI configuration file changes.

Running tests without integration tests

composer ctl:test

Running all tests

composer ctl:test-all

License

This Composer script is licensed under the MIT license. Please see LICENSE for more details.

Changelog

Please see CHANGELOG for more details.

Contributing

Please see CONTRIBUTING for more details.

统计信息

  • 总下载量: 13.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-09