2017 © Pedro Peláez
 

library composer-travis-lint

Composer script to lint a Travis CI configuration file.

image

stolt/composer-travis-lint

Composer script to lint a Travis CI configuration file.

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 4 Versions
  • 4 % Grown

The README.md

composer-travis-lint

Build Status Version PHP Version composer.lock available, (*1)

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

Installation

The Composer script should be installed as a development dependency through Composer., (*3)

``` bash composer require --dev stolt/composer-travis-lint, (*4)


## Usage Once installed add the Composer script to the existing `composer.json` and use it afterwards via `composer travis-lint`. ``` json { "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., (*5)

New lint requests will only be made when the Travis CI configuration file changes., (*6)

Running tests without integration tests

``` bash composer ctl:test, (*7)


#### Running all tests ``` bash composer ctl:test-all

License

This Composer script is licensed under the MIT license. Please see LICENSE for more details., (*8)

Changelog

Please see CHANGELOG for more details., (*9)

Contributing

Please see CONTRIBUTING for more details., (*10)

The Versions

29/01 2018

dev-master

9999999-dev https://github.com/raphaelstolt/composer-travis-lint

Composer script to lint a Travis CI configuration file.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

The Development Requires

lint validation composer script travis ci

28/10 2016

v1.0.2

1.0.2.0 https://github.com/raphaelstolt/composer-travis-lint

Composer script to lint a Travis CI configuration file.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

The Development Requires

lint validation composer script travis ci

10/10 2016

v1.0.1

1.0.1.0 https://github.com/raphaelstolt/composer-travis-lint

Composer script to lint a Travis CI configuration file.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

The Development Requires

lint composer validation ci script travis

09/10 2016

v1.0.0

1.0.0.0 https://github.com/raphaelstolt/composer-travis-lint

Composer script to lint a Travis CI configuration file.

  Sources   Download

MIT

The Requires

  • php >=5.6
  • ext-curl *

 

The Development Requires

lint composer validation ci script travis