.travis.yml 864 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ---
  2. dist: trusty
  3. language: ruby
  4. cache: bundler
  5. before_install:
  6. - bundle -v
  7. - rm -f Gemfile.lock
  8. - gem update --system $RUBYGEMS_VERSION
  9. - gem --version
  10. - bundle -v
  11. script:
  12. - 'bundle exec rake $CHECK'
  13. bundler_args: --without system_tests
  14. rvm:
  15. - 2.5.1
  16. env:
  17. global:
  18. - BEAKER_PUPPET_COLLECTION=puppet6 PUPPET_GEM_VERSION="~> 6.0"
  19. matrix:
  20. fast_finish: true
  21. include:
  22. -
  23. env: CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop"
  24. -
  25. env: CHECK=parallel_spec
  26. -
  27. env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
  28. rvm: 2.4.4
  29. branches:
  30. only:
  31. - master
  32. - /^v\d/
  33. notifications:
  34. email: false
  35. deploy:
  36. provider: puppetforge
  37. user: puppet
  38. password:
  39. secure: ""
  40. on:
  41. tags: true
  42. all_branches: true
  43. condition: "$DEPLOY_TO_FORGE = yes"