Closed phadej closed 3 years ago
Travis fails with Unknown fields: autogen-includes
, because it is explicitly configured to use cabal <= 2.0.
Right. @phadej, can you update the .travis
file? I'm assuming this will work with GHC versions back to 8.0.2?
It will work with all GHC versions which cabal-install
supports. I'd recommend to always use the most recent cabal-install
available. (even with old GHCs).
That said, I have spent enough time tweaking various CIs, so I'd rather to not look into others. Feel free to push changes on top.
Travis.Org is to be shut down for open-source soon. @AshleyYakeley would you like me to prepare GitHub Actions CI? I can do it tomorrow.
Let me just fix Travis for the time being...
autogen-includes is recent field, so we need to bump cabal-version. That requires changing license field to use SPDX expression syntax.
Also the parser is stricter for recent cabal-versions formats, optional comma fields (like exposed-modules) must have consistent separators (either commas between each element, or no commas at all). Adding few missing commas has smaller diff.