Skip to content

Ensure node versions on travis and appveyor are consistent.

Notifications You must be signed in to change notification settings

ralphtheninja/verify-travis-appveyor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

verify-travis-appveyor

Ensure node versions on travis and appveyor are consistent.

npm Node version Build Status JavaScript Style Guide

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

About

Ensure node versions on travis and appveyor are consistent.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published