.gitlab-ci.yml 656 B

123456789101112131415161718192021222324252627282930
  1. stages:
  2. - puppet3
  3. - puppet4
  4. 'unit-puppet-3':
  5. stage: puppet3
  6. script:
  7. - bundle install --without development system_tests
  8. - bundle exec rake validate
  9. - bundle exec rake lint
  10. - bundle exec rake spec SPEC_OPTS='--format documentation'
  11. tags:
  12. except:
  13. - tags
  14. 'unit-puppet-4':
  15. stage: puppet4
  16. script:
  17. - export PUPPET_GEM_VERSION='~> 4.2'
  18. - export STRICT_VARIABLES='yes'
  19. - bundle install --without development system_tests
  20. - bundle exec rake validate
  21. - bundle exec rake lint
  22. - bundle exec rake spec SPEC_OPTS='--format documentation'
  23. tags:
  24. except:
  25. - tags
  26. when: on_success
  27. allow_failure: true