travis-fold
Tiny module for emitting folding syntax for Travis CI output
Example
The following code will add folding for Travis CI output when the module detects a proper environment:
npm install travis-fold
var fold = out = ; // prepare outputout; fold;out; fold; // nestedout;out;out;fold; out;out;fold; // and emit itconsole;
In action
- Live example on Travis CI
node demo.js
vsTRAVIS=true node demo.js