language: ruby
jobs:
  include:
    - stage: test
      rvm:
        - 2.2
        - 2.3
        - 2.4
        - 2.5
    - stage: deploy
      script: skip
      deploy:
        provider: puppetforge
        user: dalen
        password:
          secure: "SMdGmtmqccOhYXttmMIbIJgXcOYErkDMYxdMo5qir2CnZT1qpaDKbzNWbeBVJLG5V55+M5utmGmznq6OzSoueD7z6vYjJZh+4fVUZeC0QhOpHkpptpdcm/hbNqEsW3O1sjgrQOdOHmFgBK+oiw70PdtiiQu8H2NEmEhnVbV1Xtg="
        on:
          tags: true
          all_branches: true

language: ruby
jobs:
  include:
    - stage: test
      rvm:
        - 2.2
        - 2.3
        - 2.4
        - 2.5
    - stage: deploy
      rvm: 2.5
      script: skip
      deploy:
        provider: puppetforge
        user: dalen
        password:
          secure: "SMdGmtmqccOhYXttmMIbIJgXcOYErkDMYxdMo5qir2CnZT1qpaDKbzNWbeBVJLG5V55+M5utmGmznq6OzSoueD7z6vYjJZh+4fVUZeC0QhOpHkpptpdcm/hbNqEsW3O1sjgrQOdOHmFgBK+oiw70PdtiiQu8H2NEmEhnVbV1Xtg="
        on:
          tags: true
          all_branches: true

Use ruby 2.5 in deploy stage
Use ruby 2.5 in deploy stage
