Merge pull request #168 from ghoneycutt/validate_metadata

Validate metadata
This commit is contained in:
Ken Barber 2015-03-30 18:46:45 +01:00
commit 3e1372ea97
3 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
---
language: ruby
bundler_args: --without system_tests
script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
script: "bundle exec metadata-json-lint --strict-license --fail-on-warnings metadata.json && bundle exec rake spec SPEC_OPTS='--format documentation'"
after_success:
- git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-release
- .forge-release/publish

View file

@ -7,6 +7,7 @@ group :development, :test do
gem 'rspec-core', '3.1.7'
gem 'rspec-puppet', '~> 1.0'
gem 'puppet-lint', '~> 1.1'
gem 'metadata-json-lint'
end
group :system_tests do

View file

@ -5,7 +5,7 @@
"source": "git://github.com/puppetlabs/puppetlabs-puppetdb.git",
"project_page": "http://github.com/puppetlabs/puppetlabs-puppetdb",
"author": "puppetlabs",
"license": "Apache 2.0",
"license": "Apache-2.0",
"issues_url": "https://tickets.puppetlabs.com/browse/PDB",
"description": "Module for installing/configuring PuppetDB",
"operatingsystem_support": [