add travis CI, relax version to ghc-7.4.