Skip to content

Sometimes I just want to execute the CI scripts at the terminal.

License

Notifications You must be signed in to change notification settings

WindomZ/ci-script

Repository files navigation

ci-script

Greenkeeper badge Build Status Coverage Status Dependency styled with prettier License FOSSA Status

Just execute the CI scripts.

NPM

ci-script status

Features

  • cli - Command line interface.
  • travis - Automatically loads .travis.yml file and executes the inside script.
  • custom - Higher priority custom .ciscript.yml file, optional.

Install

npm install -g ci-script

Usage

$ ci-script -h

  Usage: ci-script [options] [directory]

  Execute the CI script.

  Options:
    -h, --help, help            output usage information
    -v, -V, --version, version  output the version number

Configuration

If you need to customize the .ciscript.yml file, the rules configured like this:

script:
  # commands are written in order.
  - echo "One"
  - echo "Two"
  - echo "Three"

can also copy the script in the .travis.yml file, then customize it.

Note: .ciscript.yml is optional.

Example

ci-script          # working in the local directory.
ci-script tests    # working in the `./tests/` directory.
ci-script ~/tests  # working in the `~/tests/` directory.

Environment

  • linux CI pass
  • macOS CI pass
  • windows Not yet tested

Contributing

Welcome to pull requests, report bugs, suggest ideas and discuss ci-script, i would love to hear what you think about ci-script on issues page.

If you like it then you can put a ⭐ on it.

License

MIT

FOSSA Status

About

Sometimes I just want to execute the CI scripts at the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •