Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/windomz/ci-script
Sometimes I just want to execute the CI scripts at the terminal.
https://github.com/windomz/ci-script
ci ci-scripts cli travis-ci travis-scripts
Last synced: 1 day ago
JSON representation
Sometimes I just want to execute the CI scripts at the terminal.
- Host: GitHub
- URL: https://github.com/windomz/ci-script
- Owner: WindomZ
- License: mit
- Created: 2017-07-03T05:54:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T02:12:44.000Z (over 4 years ago)
- Last Synced: 2024-11-27T22:07:23.164Z (25 days ago)
- Topics: ci, ci-scripts, cli, travis-ci, travis-scripts
- Language: JavaScript
- Homepage:
- Size: 756 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ci-script
[![Greenkeeper badge](https://badges.greenkeeper.io/WindomZ/ci-script.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/WindomZ/ci-script.svg?branch=master)](https://travis-ci.org/WindomZ/ci-script)
[![Coverage Status](https://coveralls.io/repos/github/WindomZ/ci-script/badge.svg?branch=master)](https://coveralls.io/github/WindomZ/ci-script?branch=master)
[![Dependency](https://david-dm.org/WindomZ/ci-script.svg)](https://david-dm.org/WindomZ/ci-script)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FWindomZ%2Fci-script.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FWindomZ%2Fci-script?ref=badge_shield)> Just execute the CI scripts.
[![NPM](https://nodei.co/npm/ci-script.png)](https://nodei.co/npm/ci-script/)
[![ci-script](https://img.shields.io/npm/v/ci-script.svg)](https://www.npmjs.com/package/ci-script)
[![status](https://img.shields.io/badge/status-stable-green.svg)](https://www.npmjs.com/package/ci-script)## Features
- [x] _cli_ - Command line interface.
- [x] _travis_ - Automatically loads `.travis.yml` file and executes the inside `script`.
- [x] _custom_ - Higher priority custom `.ciscript.yml` file, optional.## Install
```bash
npm install -g ci-script
```## Usage
```bash
$ ci-script -hUsage: 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:
```yaml
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
```bash
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](https://github.com/WindomZ/ci-script/issues).If you like it then you can put a :star: on it.
## License
[MIT](https://github.com/WindomZ/ci-script/blob/master/LICENSE)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FWindomZ%2Fci-script.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FWindomZ%2Fci-script?ref=badge_large)