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.

.gitlab-ci.yml 953B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ---
  2. stages:
  3. - syntax
  4. - unit
  5. cache:
  6. paths:
  7. - vendor/bundle
  8. before_script:
  9. - bundle -v
  10. - rm Gemfile.lock || true
  11. - gem update --system $RUBYGEMS_VERSION
  12. - gem --version
  13. - bundle -v
  14. - bundle install --without system_tests --path vendor/bundle --jobs $(nproc)
  15. syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.5.3-Puppet ~> 6:
  16. stage: syntax
  17. image: ruby:2.5.3
  18. script:
  19. - bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop
  20. variables:
  21. PUPPET_GEM_VERSION: '~> 6'
  22. parallel_spec-Ruby 2.5.3-Puppet ~> 6:
  23. stage: unit
  24. image: ruby:2.5.3
  25. script:
  26. - bundle exec rake parallel_spec
  27. variables:
  28. PUPPET_GEM_VERSION: '~> 6'
  29. parallel_spec-Ruby 2.4.5-Puppet ~> 5:
  30. stage: unit
  31. image: ruby:2.4.5
  32. script:
  33. - bundle exec rake parallel_spec
  34. variables:
  35. PUPPET_GEM_VERSION: '~> 5'