Code Monkey home page Code Monkey logo

composer-travis-lint's Introduction

composer-travis-lint

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.

composer-travis-lint's People

Contributors

raphaelstolt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

composer-travis-lint's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.