Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

travis-yaml

Load your travis yaml configuration into node

travis, yaml, yml, config, configuration, build, matrix, ci, travis-ci, travis yaml, travis yml

readme

Build Status downloads npm Code Climate Test Coverage dependencies

travis-yaml

Load your travis yaml configuration into node

Installation

npm install --save travis-yaml

Summary

This library does what you'd expect: loads your .travis.yml as an object. You can do this synchronously or asynchronously (by passing a callback).

var travisYaml = require('travis-yaml');

// Sync
var travis = travisYaml();

// Async
travisYaml(function(err, travis) {

});

Contributing

Please see the contribution guidelines.