Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ralphtheninja/verify-travis-appveyor
Ensure node versions on travis and appveyor are consistent.
https://github.com/ralphtheninja/verify-travis-appveyor
appveyor node travis
Last synced: 2 days ago
JSON representation
Ensure node versions on travis and appveyor are consistent.
- Host: GitHub
- URL: https://github.com/ralphtheninja/verify-travis-appveyor
- Owner: ralphtheninja
- Created: 2018-02-02T11:06:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T04:11:25.000Z (over 4 years ago)
- Last Synced: 2024-12-22T20:07:32.848Z (11 days ago)
- Topics: appveyor, node, travis
- Language: JavaScript
- Size: 36.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# verify-travis-appveyor
> Ensure node versions on travis and appveyor are consistent.
[![npm](https://img.shields.io/npm/v/verify-travis-appveyor.svg)](https://www.npmjs.com/package/verifi-travis-appveyor)
![Node version](https://img.shields.io/node/v/verify-travis-appveyor.svg)
[![Build Status](https://travis-ci.org/ralphtheninja/verify-travis-appveyor.svg?branch=master)](https://travis-ci.org/ralphtheninja/verify-travis-appveyor)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)Useful as a maintenance script to ensure travis and appveyor are using the same node versions. Running it in a `test` or `prepublishOnly` script in your `package.json` will let you know if you have missed anything.
## Install
Add to your `devDependencies` as part of your test and/or release flow:
```
$ npm i verify-travis-appveyor --save-dev
```Or, install globally for system wide availability:
```
$ npm i verify-travis-appveyor -g
```## Usage
Run `verify-travis-appveyor` in a project folder containing a `.travis.yml` and a `appveyor.yml`.
Exits with code `0` if they are both consistent.
```
$ verify-travis-appveyor
```An error message will be printed together with an exit code of `1` if they are inconsistent.
```
$ verify-travis-appveyor
travis:["6","8","9"] and appveyor:["4","6","8"] are inconsistent
```Additionally outputs a `WARNING` for each node version that have reached End of Life (EOL).
## License
MIT