Sha256: 2515dfdd0dcac7bdfe83c8be1654f1a033251b4457cfb95971a114d11007c49f
Contents?: true
Size: 626 Bytes
Versions: 4
Compression:
Stored size: 626 Bytes
Contents
#!/bin/sh # inspired by http://pivotallabs.com/users/jdean/blog/articles/1728-testing-your-gem-against-multiple-rubies-and-rails-versions-with-rvm # on OS X, run using this command: sh test_all_rubies.sh # tells the shell to exit immediately if any of the commands in the script fail set -e function run { gem list --local bundler | grep bundler || gem install bundler --no-ri --no-rdoc echo 'Running tests...' rake test } rvm use ruby-1.8.6 run rvm use ruby-1.8.7 run # rvm use ree-1.8.7 # run rvm use 1.9.1-p378 run rvm use ruby-1.9.1 run rvm use ruby-1.9.2-p290 run rvm use ruby-1.9.3 run echo 'Success!'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
statsmix-1.0.0 | test_all_rubies.sh |
statsmix-0.3.0 | test_all_rubies.sh |
statsmix-0.2.4 | test_all_rubies.sh |
statsmix-0.2.3 | test_all_rubies.sh |