appveyor.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. version: 1.1.x.{build}
  2. skip_commits:
  3. message: /^\(?doc\)?.*/
  4. clone_depth: 10
  5. init:
  6. - SET
  7. - 'mkdir C:\ProgramData\PuppetLabs\code && exit 0'
  8. - 'mkdir C:\ProgramData\PuppetLabs\facter && exit 0'
  9. - 'mkdir C:\ProgramData\PuppetLabs\hiera && exit 0'
  10. - 'mkdir C:\ProgramData\PuppetLabs\puppet\var && exit 0'
  11. environment:
  12. matrix:
  13. -
  14. RUBY_VERSION: 24-x64
  15. CHECK: syntax lint
  16. -
  17. RUBY_VERSION: 24-x64
  18. CHECK: metadata_lint
  19. -
  20. RUBY_VERSION: 24-x64
  21. CHECK: rubocop
  22. -
  23. PUPPET_GEM_VERSION: ~> 4.0
  24. RUBY_VERSION: 21
  25. CHECK: spec
  26. -
  27. PUPPET_GEM_VERSION: ~> 4.0
  28. RUBY_VERSION: 21-x64
  29. CHECK: spec
  30. -
  31. PUPPET_GEM_VERSION: ~> 5.0
  32. RUBY_VERSION: 24
  33. CHECK: spec
  34. -
  35. PUPPET_GEM_VERSION: ~> 5.0
  36. RUBY_VERSION: 24-x64
  37. CHECK: spec
  38. matrix:
  39. fast_finish: true
  40. install:
  41. - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
  42. - bundle install --jobs 4 --retry 2 --without system_tests
  43. - type Gemfile.lock
  44. build: off
  45. test_script:
  46. - bundle exec puppet -V
  47. - ruby -v
  48. - gem -v
  49. - bundle -v
  50. - bundle exec rake %CHECK%
  51. notifications:
  52. - provider: Email
  53. to:
  54. - nobody@nowhere.com
  55. on_build_success: false
  56. on_build_failure: false
  57. on_build_status_changed: false