As a contributor to Docco, I would like to be able to prove that the tests I write pass, and the code I contribute does not introduce errors into the existing test-suite. I would like this to be evidenced in my pull requests, so that a reviewer can easily sanity check my contributions.
Add a .travis.yml configuration file, and an npm test script update to package.json. Any fork may choose to enable Travis-CI for their repository (which is a free service for open source projects), and may benefit from the comfort of knowing that their changes do not break existing functionality in Docco that is tested.
When Travis-CI is enabled for a fork, each push will be tested, and failed builds will be reported via email. When Travis-CI is not enabled, these changes still have the benefit of enabling npm test support.
Add Travis-CI configuration file, and add "test" script to package.js…
…on for "npm test" support.
This PR depends on #124 to report proper error codes from the test-suite.