2017 © Pedro Peláez
 

library build-system-tool-travis-configuration-check

Validation tool to ensure that the contents of a .travis.yml make sense.

image

contao-community-alliance/build-system-tool-travis-configuration-check

Validation tool to ensure that the contents of a .travis.yml make sense.

  • Saturday, October 11, 2014
  • by cca
  • Repository
  • 8 Watchers
  • 0 Stars
  • 5,719 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Version Stable Build Status Upstream Build Status License Downloads, (*1)

Validate .travis.yml against composer.json.

This check performs several tests., (*2)

The first test ensures that a PHP version is set in the composer.json and this version is also covered by the .travis.yml., (*3)

The second test is to ensure that all allowed versions in .travis.yml are available at travis-ci., (*4)

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., (*5)

Usage

Add to your composer.json in the require-dev section:, (*6)

"contao-community-alliance/build-system-tool-travis-configuration-check": "~1.0"

Call the binary:, (*7)

./vendor/bin/check-travis-configuration.php

Optionally pass the root of the project to check:, (*8)

./vendor/bin/check-travis-configuration.php /path/to/some/project

To additionally check for unmaintained PHP versions:, (*9)

./vendor/bin/check-travis-configuration.php --unmaintained-version-error

To additionally check for unmaintained PHP versions within another project:, (*10)

./vendor/bin/check-travis-configuration.php --unmaintained-version-error /path/to/some/project

The Versions