Skip to content

Instantly share code, notes, and snippets.

@krames
Created April 15, 2014 17:52
Show Gist options
  • Save krames/10752528 to your computer and use it in GitHub Desktop.
Save krames/10752528 to your computer and use it in GitHub Desktop.
This script is used to test the Rackspace fog provider using Jenkins.
#!/bin/bash
source /var/lib/jenkins/.bash_profile
export FOG_RC=/var/lib/jenkins/.fog
# Use the correct ruby
rvm use "ruby-1.9.3-p484@fog_test"
# Set "fail on error" in bash
set -e
export COVERAGE=false
bundle install
# Finally, run your tests
bundle exec shindont +rackspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment