summaryrefslogtreecommitdiff
path: root/script/ci.sh
blob: 76ca5217f3f9ea41110b7552c6ce1721fc864c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 ci RAILS_ENV=test --trace