Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Create a simple ci script that runs the backlog validation.

  • Loading branch information...
commit 450f4d9c197fd2ed42e4af91ccd5f8a0c3f73063 0 parents
@woods woods authored
2  .bundle/config
@@ -0,0 +1,2 @@
+---
+BUNDLE_DISABLE_SHARED_GEMS: "1"
1  .rvmrc
@@ -0,0 +1 @@
+rvm use 1.8.7@backlog-validation
4 Gemfile
@@ -0,0 +1,4 @@
+source :rubygems
+
+# Interface with Pivotal the West Arete way.
+gem 'westarete-tracker-tools', '0.0.0', :git => 'git@github.com:westarete/westarete-tracker-tools.git', :tag => "v0.0.0"
44 Gemfile.lock
@@ -0,0 +1,44 @@
+GIT
+ remote: git@github.com:westarete/westarete-tracker-tools.git
+ revision: bee73ac5c197ede3c5f56603ec9529c7b687767f
+ tag: v0.0.0
+ specs:
+ westarete-tracker-tools (0.0.0)
+ activemodel (= 3.0.3)
+ jeweler (= 1.5.2)
+ pivotal-tracker (= 0.3.0)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (3.0.3)
+ activesupport (= 3.0.3)
+ builder (~> 2.1.2)
+ i18n (~> 0.4)
+ activesupport (3.0.3)
+ builder (2.1.2)
+ git (1.2.5)
+ happymapper (0.3.2)
+ libxml-ruby (~> 1.1.3)
+ i18n (0.5.0)
+ jeweler (1.5.2)
+ bundler (~> 1.0.0)
+ git (>= 1.2.5)
+ rake
+ libxml-ruby (1.1.4)
+ mime-types (1.16)
+ nokogiri (1.4.3.1)
+ pivotal-tracker (0.3.0)
+ builder
+ happymapper (>= 0.3.2)
+ nokogiri (~> 1.4.3.1)
+ rest-client (~> 1.6.0)
+ rake (0.8.7)
+ rest-client (1.6.1)
+ mime-types (>= 1.16)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ westarete-tracker-tools (= 0.0.0)!
20 LICENSE.txt
@@ -0,0 +1,20 @@
+Copyright (c) 2011 West Arete Computing, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 README.md
@@ -0,0 +1,9 @@
+# backlog-validation
+
+A simple project that runs under continuous integration to ensure that all
+stories in our backlog pass validation.
+
+## Copyright
+
+Copyright (c) 2011 West Arete Computing, Inc. See LICENSE.txt for
+further details.
21 ci
@@ -0,0 +1,21 @@
+#!/bin/bash
+# Continuous Integration build script.
+
+echo '========== Set Up RVM ==============================================='
+export PATH=$PATH:~/.rvm/bin
+source ~/.rvm/scripts/rvm
+set -e # Exit on any error
+cd . # Kick off the rvmrc
+set -x # Echo each command
+
+echo '========== Verify Environment ======================================='
+ruby -v
+gem env gemdir
+env | sort
+
+echo '========== Install Gems ============================================='
+bundle --no-color install
+
+echo '========== Run Specs ================================================'
+# Set rspec output options
+bundle exec validate
Please sign in to comment.
Something went wrong with that request. Please try again.