Browse Source

Added travis configuration

master
Aaron Hicks 6 years ago
parent
commit
b173a70a26
1 changed files with 28 additions and 0 deletions
  1. 28
    0
      travis.yml

+ 28
- 0
travis.yml View File

@@ -0,0 +1,28 @@
language: ruby
bundler_args: --without development
before_script:
- "[ $PUPPET_GEM_VERSION ~> 2.6 ] && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true"
script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
rvm:
- 1.8.7
- 1.9.3
- ruby-head
env:
- PUPPET_GEM_VERSION="~> 2.6.0"
- PUPPET_GEM_VERSION="~> 2.7.0"
- PUPPET_GEM_VERSION="~> 3.0.0"
- PUPPET_GEM_VERSION="~> 3.1.0"
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 2.7.0"
- rvm: ruby-head
env: PUPPET_GEM_VERSION="~> 2.7.0"
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 2.6.0"
- rvm: ruby-head
env: PUPPET_GEM_VERSION="~> 2.6.0"
notifications:
email: false

Loading…
Cancel
Save