Skip to content

Commit

Permalink
Create a simple ci script that runs the backlog validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
woods committed Jan 23, 2011
0 parents commit 450f4d9
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bundle/config
@@ -0,0 +1,2 @@
---
BUNDLE_DISABLE_SHARED_GEMS: "1"
1 change: 1 addition & 0 deletions .rvmrc
@@ -0,0 +1 @@
rvm use 1.8.7@backlog-validation
4 changes: 4 additions & 0 deletions 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 changes: 44 additions & 0 deletions 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 changes: 20 additions & 0 deletions 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 changes: 9 additions & 0 deletions 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 changes: 21 additions & 0 deletions 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

0 comments on commit 450f4d9

Please sign in to comment.