Adds Travis-CI integration

Adds integration with Travis-CI service.

bats output needs some twiddling because it appears duplicated in the job's output.