Add metadata validation in script

This PR will validate `metadata.json` at the end of the Travis CI check.

It also makes the Travis CI output clearer, and checks all tests (validate, lint, spec & metadata) even if one fails (but the status will be fail if one fails still).
Thanks. @mcanevet did you know that?
Le 7 déc. 2014 21:39, "Colleen Murphy" <notifications@github.com> a écrit :

> In moduleroot/Rakefile:
>
> > @@ -7,3 +7,8 @@ PuppetLint.configuration.fail_on_warnings
> >  PuppetLint.configuration.send('<%= check %>')
> >  <% end -%>
> >  PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
> > +
> > +desc "Lint metadata.json file"
>
> In the next release of puppetlabs_spec_helper this task will be included,
> so we don't need to add it to the Rakefile.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/puppetlabs/modulesync_configs/pull/4/files#r21427933>.
>