Nutella Pancake Machine

    is-travis-ci-build

    1.1.1 • Public • Published

    is-travis-ci-build

    NPM version Travis-CI Status Appveyor Status Daviddm Status

    Check if your code is running on Travis-CI build

    is-travis-ci-build-for-tag is related, only for a tag.

    This is based on is-travis.

    Install

    $ npm install --save is-travis-ci-build
    

    Usage

    var isTravisCiBuild = require('is-travis-ci-build');
     
    // on your local computer
    isTravisCiBuild();
    //=> false
     
    // on Travis-CI build
    isTravisCiBuild();
    //=> true

    CLI

    $ npm install --global is-travis-ci-build
    
    $ is-travis-ci-build --help
      Check if your code is running on Travis-CI build.
    
      Usage
        $ is-travis-ci-build
    
      Examples
        // on your local computer
        $ is-travis-ci-build
        This is not Travis-CI build. //=> exit code: 1
    
        // on Travis-CI build
        $ is-travis-ci-build
        (no output) //=> exit code: 0
    

    API

    isTravisCiBuild()

    Changelog

    changelog.md.

    License

    MIT © sanemat

    is-travis

    MIT © Sindre Sorhus

    Install

    npm i is-travis-ci-build

    DownloadsWeekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • sanemat