summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Smith <joseph@opscode.com>2013-06-17 14:37:33 -0700
committerJoseph Smith <joseph@opscode.com>2013-06-17 14:37:33 -0700
commitaa27ab517a187c770730d84449812368ee25b844 (patch)
tree488911efa5d3550d50c89d4d1dbcdd51e35b213d
parent32815e4681813d36b264e2450a9dd5d88ed67618 (diff)
downloadchef-aa27ab517a187c770730d84449812368ee25b844.tar.gz
travis for 10-stable
-rw-r--r--.travis.yml9
-rw-r--r--Gemfile40
2 files changed, 49 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..edcc006d14
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,9 @@
+before_install: cd chef
+
+rvm:
+ - 1.8.7
+# - 1.9.2
+ - 1.9.3
+ - 2.0.0
+
+script: bundle exec rake spec \ No newline at end of file
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000000..1ae64a2b63
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,40 @@
+source "https://rubygems.org"
+
+gemspec
+
+gem "mixlib-shellout", :git => "git://github.com/opscode/mixlib-shellout.git"
+gem "activesupport", :group => :compat_testing, :platform => "ruby"
+
+group(:docgen) do
+ gem "ronn"
+end
+
+group(:development, :test) do
+ gem 'rack', "~> 1.5.1"
+
+ gem 'ruby-shadow', :platforms => :ruby unless RUBY_PLATFORM.downcase.match(/(darwin|freebsd)/)
+# gem 'awesome_print'
+# gem 'pry'
+end
+
+platforms :mswin, :mingw do
+ gem "systemu", "2.2.0" # CHEF-3718
+ gem "ffi", "1.0.9"
+ gem "rdp-ruby-wmi", "0.3.1"
+ gem "windows-api", "0.4.0"
+ gem "windows-pr", "1.2.1"
+ gem "win32-api", "1.4.8"
+ gem "win32-dir", "0.3.7"
+ gem "win32-event", "0.5.2"
+ gem "win32-mutex", "0.3.1"
+ gem "win32-process", "0.6.5"
+ gem "win32-service", "0.7.2"
+end
+
+platforms :mingw_18 do
+ gem "win32-open3", "0.3.2"
+end
+
+# If you want to load debugging tools into the bundle exec sandbox,
+# add these additional dependencies into chef/Gemfile.local
+eval(IO.read(__FILE__ + '.local'), binding) if File.exists?(__FILE__ + '.local')