Here is a simple travis config that you can use: https://github.com/thedumbterminal/PSGI-Hector/blob/master/.travis.yml