New Travis build script

This time adapted from CoHTTP.