Merge pull request #864 from puppetlabs/litmus
[puppet-modules/puppetlabs-apt.git] / .sync.yml
index 951d5e8db444d8e1ad77bd5d5ba38c988eb0a761..947242e2e843a605795f8857df4dd40ee61f1fdc 100644 (file)
--- a/.sync.yml
+++ b/.sync.yml
@@ -1,56 +1,48 @@
 ---
-appveyor.yml:
-  environment:
-  PUPPET_GEM_VERSION: "~> 4.0"
-  matrix:
-    - RUBY_VERSION: 24-x64
-      CHECK: "syntax lint"
-    - RUBY_VERSION: 24-x64
-      CHECK: metadata_lint
-    - RUBY_VERSION: 24-x64
-      CHECK: rubocop
+.gitignore:
+  required:
+    - ---.project
+
+.gitlab-ci.yml:
+  unmanaged: true
+
+.rubocop.yml:
+   default_configs:
+    inherit_from: .rubocop_todo.yml
+    require:
+      - rubocop-i18n
+      - rubocop-rspec
 
 .travis.yml:
-  bundle_args: --without system_tests
-  docker_sets:
-    - set: docker/debian-8
-      options:
-    - set: docker/ubuntu-14.04
-      options:
-  docker_defaults:
-    bundler_args: ""
-  secure: ""
-  branches:
-    - release
-  extras:
-    - rvm: 2.1.9
-      script: "\"bundle exec rake release_checks\""
+  unmanaged: true
+
+appveyor.yml:
+  delete: true
 
 Gemfile:
   required:
-    ':system_tests':
-      - gem: 'puppet-module-posix-system-r#{minor_version}'
-        platforms: ruby
-      - gem: 'puppet-module-win-system-r#{minor_version}'
+    ':development':
+      - gem: 'puppet_litmus'
         platforms:
+          - ruby
           - mswin
           - mingw
           - x64_mingw
-      - gem: beaker
-        version: '~> 3.13'
-        from_env: BEAKER_VERSION
-      - gem: beaker-abs
-        from_env: BEAKER_ABS_VERSION
-        version: '~> 0.1'
-      - gem: beaker-pe
-      - gem: beaker-hostgenerator
-        from_env: BEAKER_HOSTGENERATOR_VERSION
-      - gem: beaker-rspec
-        from_env: BEAKER_RSPEC_VERSION
+        condition: "ENV['PUPPET_GEM_VERSION'].nil? or ENV['PUPPET_GEM_VERSION'] !~ %r{ 5}"
+      - gem: 'serverspec'
+  optional:
     ':development':
-      - gem: puppet-blacksmith
-        version: '~> 3.4'
+      - gem: 'github_changelog_generator'
+        git: 'https://github.com/skywinder/github-changelog-generator'
+        ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018'
+        condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')"
+      - gem: puppet-lint-i18n
 
 Rakefile:
   requires:
-    - puppet_blacksmith/rake_tasks
+    - puppet_pot_generator/rake_tasks
+  use_litmus_tasks: true
+
+spec/spec_helper.rb:
+  mock_with: ':rspec'
+  coverage_report: true