diff options
| author | mo <mo@mokhan.ca> | 2018-05-07 16:16:53 -0600 |
|---|---|---|
| committer | mo <mo@mokhan.ca> | 2018-05-07 16:16:53 -0600 |
| commit | 31500bdab2e72b370d7e622195161df2515fdf4f (patch) | |
| tree | 4b4810e79eb6e5962986f8efca45a62d6899cf79 /bin/test | |
| parent | 94930e58756679db7803e7fd59664f696689388d (diff) | |
hook up CI.
Diffstat (limited to 'bin/test')
| -rwxr-xr-x | bin/test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/test b/bin/test new file mode 100755 index 0000000..7b58776 --- /dev/null +++ b/bin/test @@ -0,0 +1,17 @@ +#!/bin/sh + +# script/test: Run test suite for application. Optionally pass in a path to an +# individual test file to run a single test. + + +set -e + +cd "$(dirname "$0")/.." + +[ -z "$DEBUG" ] || set -x + +echo [$(date "+%H:%M:%S")] "==> Running setup…" +bin/setup + +echo [$(date "+%H:%M:%S")] "==> Running tests…" +bundle exec rake test |
