This should help with older versions of cabal which can't handle custom preprocessors. See http://stackoverflow.com/questions/16256987/haskell-packaging-cabal-package-with-custom-preprocessors
Made make_travis_yml.hs a bit more robust.
Autgenerated using make_travis_yml.hs. This script has been modified to add GHCOPTS. 'make .travis.yml' regenerates it based on the tested-with field of the cabal file.