Only run haddock on travis-ci.