From 2c11a91c8eaaa37845087496d0c71c8f9ab4ad05 Mon Sep 17 00:00:00 2001 From: Dan Bode Date: Mon, 4 Mar 2013 10:31:45 -0800 Subject: [PATCH] fix issues with travis unit test config --- .fixtures.yaml | 3 +++ .travis.yaml | 2 -- Gemfile | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .fixtures.yaml diff --git a/.fixtures.yaml b/.fixtures.yaml new file mode 100644 index 0000000..86ac556 --- /dev/null +++ b/.fixtures.yaml @@ -0,0 +1,3 @@ +fixtures: + symlinks: + "create_resources": "#{source_dir}" diff --git a/.travis.yaml b/.travis.yaml index 0e759e2..8f713e0 100644 --- a/.travis.yaml +++ b/.travis.yaml @@ -1,7 +1,5 @@ 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 diff --git a/Gemfile b/Gemfile index b058601..28f9df7 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,9 @@ source :rubygems +group :development, :test do + gem 'puppetlabs_spec_helper', :require => false +end + if puppetversion = ENV['PUPPET_GEM_VERSION'] gem 'puppet', puppetversion, :require => false else