summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/ci.sh13
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