diff --git a/.travis.yml b/.travis.yml index 1dc54e96..603a95c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,10 @@ rvm: - 2.1.6 - 2.2.5 - 2.3.3 -script: bundle exec rake test +script: + - bundle exec rake test + - bundle exec rubocop lib + - bundle exec puppet-lint --no-autoloader_layout-check manifests env: - PUPPET_GEM_VERSION="~> 4.0" - PUPPET_GEM_VERSION="5.3.3" diff --git a/Gemfile b/Gemfile index 8169ffb5..148ed623 100755 --- a/Gemfile +++ b/Gemfile @@ -24,7 +24,7 @@ group :test do gem 'rspec_junit_formatter', '~> 0.2.3' gem "puppet-lint-i18n" gem "puppet_pot_generator" - gem 'rubocop-i18n' + gem 'rubocop-i18n', '~> 1.2.0' gem 'gettext-setup' gem 'rubocop-rspec' end