Convert to using litmus
[puppet-modules/puppetlabs-apt.git] / .sync.yml
index 1f992a5c107d9fedb30803ea32e913f719630515..4adfb674a03b03bdf35c8a44461d9ed898702481 100644 (file)
--- a/.sync.yml
+++ b/.sync.yml
@@ -1,17 +1,61 @@
 ---
-appveyor.yml:
-  delete: true
-# override default cells to replace centos-7 with debian-8
+.gitignore:
+  required:
+    - ---.project
+
+.gitlab-ci.yml:
+  unmanaged: true
+
+.rubocop.yml:
+   default_configs:
+    inherit_from: .rubocop_todo.yml
+    require:
+      - rubocop-i18n
+      - rubocop-rspec
+
 .travis.yml:
   docker_sets:
-  - set: docker/ubuntu-14.04
-  - set: docker/debian-8
-  extras:
-  - rvm: 2.1.9
-    script: bundle exec rake rubocop
+    - set: docker/debian-8
+    - set: docker/ubuntu-14.04
+  docker_defaults:
+    bundler_args: ""
+  secure: ""
+  branches:
+    - release
 
-NOTICE:
-  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}'
+        platforms:
+          - mswin
+          - mingw
+          - x64_mingw
+      - gem: 'puppet_litmus'
+        platforms:
+          - ruby
+          - mswin
+          - mingw
+          - x64_mingw
+        condition: "ENV['PUPPET_GEM_VERSION'].nil? or ENV['PUPPET_GEM_VERSION'] !~ %r{ 5}"
+  optional:
+    ':development':
+      - 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_pot_generator/rake_tasks
+  use_litmus_tasks: true
 
 spec/spec_helper.rb:
-  allow_deprecations: true
+  mock_with: ':rspec'
+  coverage_report: true