Please review pull request #378: (New Feature) Added basic integration with Travis CI service opened by (kavu)

Description:

Added basic config for Travis CI service, including 4 basic
platforms: Ruby 1.8.7, Ruby 1.9.2, Ruby 1.9.3 and Ruby
Enterprise Edition. Also moved rSpec options from deprcated
spec.opts file to .rspec, so rSpec output in Travis CI
will be mush more prettier.

  • Opened: Sat Jan 21 22:27:15 UTC 2012
  • Based on: puppetlabs:master (5e98876f5c91e7019ef9ea0842e30bdcfe8098b2)
  • Requested merge: kavu:new_feature/master/travis-ci_integration (ce4c67c4d78dd86436c020fe75c27f54a3f72cd0)

Diff follows:

diff --git a/.gitignore b/.gitignore
index a208237..59cec8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
-.rspec
 results
 .*.sw[op]
diff --git a/.rspec b/.rspec
new file mode 100644
index 0000000..616c433
--- /dev/null
+++ b/.rspec
@@ -0,0 +1,2 @@
+--colour
+--backtrace
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6ee0686
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: ruby
+rvm:
+  - 1.8.7
+  - 1.9.2
+  - 1.9.3
+  - ree
+branches:
+  only:
+    - master
+script: bundle exec rspec spec
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..717d1b3
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,10 @@
+source "http://rubygems.org"
+
+group :development, :test do
+  gem "rack"
+  gem "facter"
+  gem "rspec", "~> 2.8.0"
+  gem "mocha"
+  gem "rcov", :platform => [:mri_18]
+  gem "watchr"
+end
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 0000000..136bc70
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,30 @@
+GEM
+  remote: http://rubygems.org/
+  specs:
+    diff-lcs (1.1.3)
+    facter (1.6.4)
+    metaclass (0.0.1)
+    mocha (0.10.3)
+      metaclass (~> 0.0.1)
+    rack (1.4.0)
+    rcov (1.0.0)
+    rspec (2.8.0)
+      rspec-core (~> 2.8.0)
+      rspec-expectations (~> 2.8.0)
+      rspec-mocks (~> 2.8.0)
+    rspec-core (2.8.0)
+    rspec-expectations (2.8.0)
+      diff-lcs (~> 1.1.2)
+    rspec-mocks (2.8.0)
+    watchr (0.7)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  facter
+  mocha
+  rack
+  rcov
+  rspec (~> 2.8.0)
+  watchr
diff --git a/spec/spec.opts b/spec/spec.opts
deleted file mode 100644
index 425f0ed..0000000
--- a/spec/spec.opts
+++ /dev/null
@@ -1,4 +0,0 @@
---format
-s
---colour
---backtrace

    

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to