Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis-ci.org shutdown #193

Closed
knothed opened this issue Jun 9, 2021 · 0 comments · Fixed by #196
Closed

travis-ci.org shutdown #193

knothed opened this issue Jun 9, 2021 · 0 comments · Fixed by #196

Comments

@knothed
Copy link
Contributor

knothed commented Jun 9, 2021

happy currently uses www.travis-ci.org, which will be shut down on June 15, i.e. very soon.

We should migrate to www.travis-ci.com to further use travis.

Once #189 is implemented, travis could also be dropped completely.

andreasabel added a commit to andreasabel/happy that referenced this issue Jul 14, 2021
Get CI on GitHub Actions via a patched workflow generated by haskell-ci.

- DEVELOPER.md explains how to regenerate the CI, e.g. in case of new GHCs.

- .github/haskell-ci.patch modifies the generated workflow by:
  * Setting flag 'bootstrap' to False in calls to cabal.
  * Installing happy instead of just building it.
  * Setting HAPPY and HC for running the tests.

- tests/Makefile has been modified to not overwrite already set HAPPY
  and HC variables.  This is needed to locate these executables correctly.

- cabal.haskell-ci contains configuration for running haskell-ci:
  It removes constraints on packages containers, mtl and transformers.
  Otherwise, these will be constrained to the GHC-shipped versions,
  which isn't compatible with happy for all GHC versions.

The logic behind this CI setup is identical to

  haskell/alex#189

[fixes haskell#189] [fixes haskell#193]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant