Ruby code for testing in travis build