guillaumepotier / validator.js

Powerful objects and strings validation in javascript for Node and the browser
http://validatorjs.org
MIT License
255 stars 39 forks source link

Fix travis build #68

Closed rplopes closed 5 years ago

rplopes commented 5 years ago

The latest version of mocha is using syntax (const) that the target node version (v0.11) used in TravisCI doesn't support yet.

So we need to get the latest mocha version that doesn't have that change yet (v3), so that the build can pass again.