diff options
author | Dan Bode <dan@puppetlabs.com> | 2013-04-02 15:23:36 -0700 |
---|---|---|
committer | Dan Bode <dan@puppetlabs.com> | 2013-04-02 15:38:36 -0700 |
commit | c2052b3cbd6f829fd0b97eb09a7fe26be2fd199d (patch) | |
tree | 3fc9cc037ec37e76c48900b22f2e5c370a90aeb2 | |
parent | 6c245ef674316f4fbddb79698552138fe9f1e69a (diff) | |
download | puppet-inifile-c2052b3cbd6f829fd0b97eb09a7fe26be2fd199d.tar.gz puppet-inifile-c2052b3cbd6f829fd0b97eb09a7fe26be2fd199d.tar.bz2 |
Add travisfile and Gemfile
in order to automate travis-ci tests.
-rw-r--r-- | .travis.yml | 25 | ||||
-rw-r--r-- | Gemfile | 11 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e29dc7e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: ruby +script: "bundle exec rspec spec" +rvm: + - 1.8.7 + - 1.9.3 + - ruby-head +env: + - PUPPET_GEM_VERSION="~> 2.6" + - PUPPET_GEM_VERSION="~> 2.7" + - PUPPET_GEM_VERSION="~> 3.0" + - PUPPET_GEM_VERSION="~> 3.1" +matrix: + allow_failures: + - rvm: ruby-head + exclude: + - rvm: 1.9.3 + env: PUPPET_GEM_VERSION="~> 2.7" + - rvm: ruby-head + env: PUPPET_GEM_VERSION="~> 2.7" + - rvm: 1.9.3 + env: PUPPET_GEM_VERSION="~> 2.6" + - rvm: ruby-head + env: PUPPET_GEM_VERSION="~> 2.6" +notifications: + email: false @@ -0,0 +1,11 @@ +source :rubygems + +gem 'puppetlabs_spec_helper' +gem 'rspec-expectations', "2.11.3" +gem 'mocha', "0.10.5" + +if puppetversion = ENV['PUPPET_GEM_VERSION'] + gem 'puppet', puppetversion, :require => false +end + +# vim:ft=ruby |