Update .travis.yml

Configure before haddock in .travis.yml