.travis.yml - HewlettPackard/puppet-ilorest-module GitHub Wiki

.travis.yml

.travis.yml is used for Travis CI, a continuous integration service being used to check build status. This file is not required to run the module at all, and is simply used for Travis CI. When adapting this module to your needs, you may want to adapt .travis.yml as well.

language: ruby
rvm:
  - 2.1.9
  - 2.2.5
  - 2.3.1
env:
  - PUPPET_VERSION=4.2
  - PUPPET_VERSION=4.3
  - PUPPET_VERSION=4.4

notifications:
  email: false

We declare versions of Ruby to be tested, as well as which Puppet Version to test for. Lastly notifications has been opted out. (Defaults to true)

Note that the rvm, must be able to support rake. Additionally, one can set the Puppet version to build for specific puppet version. Ensure that the Gem for that version can be found, or the build will fail. See https://rubygems.org/gems/puppet/versions.