You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appveyor.yml 1.3KB

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