diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-19 10:58:16 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-19 10:58:16 -0600 |
| commit | d4cc5343f90412675facecb8055afd6b5ec6f6b2 (patch) | |
| tree | 5218cbc3667b018ddc2cad88dd0e846749b947f1 /script | |
| parent | 8eddde8ac7012c13e3db6cdd7086afc999742e7f (diff) | |
create ci script
Diffstat (limited to 'script')
| -rw-r--r-- | script/ci.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/script/ci.sh b/script/ci.sh new file mode 100644 index 0000000..ef7fe04 --- /dev/null +++ b/script/ci.sh @@ -0,0 +1,13 @@ +#!/bin/bash -x + +echo 'loading bashrc' +source ~/.bashrc + +echo 'activating gemset' +rvm use "$(cat .ruby-version)"@"$(cat .ruby-gemset)" --create + +echo 'installing gems' +bundle install + +echo 'running tests' +bundle exec rake |
