Slack Rails Continuous Integration
A Git hook (Bash script) that runs the test suite of a Ruby On Rails application after each commit and posts the result on a Slack channel - basically, a continuous integration solution cheaper than Travis (but not so good).
variables.sh, copy the files
.git/hooks (or symlink them) on the root of your repository and set the variables
The script tries to run the test suite with code coverage, but if it's not available, it just runs the tests.
This used to be a Gist at https://gist.github.com/caiosba/d69be6e7e343e27a9e62.