-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Coq to Travis CI #70
Comments
Hi @liyishuai As we discussed just now in coq-community/templates#1, the necessary boilerplate involved in the Travis-CI+Docker-Coq templates is not that verbose… However, I think this use case (reducing the verbosity of the CI script by making Travis CI support Docker-based testing "natively" like GitLab CI or Circle CI) is directly related to these upstream issues:
Thus, I'm a bit split on the timeliness to engage in the process described in the page you mention (https://docs.travis-ci.com/user/languages/community-supported-languages) as this process requires some additional work and maintenance… which would not be worth it if travis-ci/travis-ci#7726 happens to be implemented at some point :) |
Note that while Travis support would need to be maintained, and so represents additional work, it also becomes more straightforward for any Coq user to test their projects. Existing Travis users will find the information on how to test their Coq projects more quickly. It has another advantage which is to add Coq to the list on this page https://docs.travis-ci.com/user/languages, which is one of many small ways to give more notoriety to Coq. (And for once, we would be the first proof assistant to appear in this list.) |
One main requirement is to have three volunteers. I can be one of them if needed. I haven't looked yet at how much work this would represent though. |
@Zimmi48 I looked at how Perl 6 (one of the “community-supported” languages) works, and the minimal (i. e. no any fancy stuff like matrices of builds etc, and they just build the compiler each time from the source) version is as simple as travis-ci/travis-build@7becb33. |
Thanks for looking into it. Building Coq every time from source is definitely not an option. If we decide to provide a native Travis support, it needs to be good enough, because there is nothing worse than to frustrate users. If providing good support is deemed too costly, it's better not to do anything. |
Then there should be a place to store binaries for (at least one) Ubuntu version travis supports. Namely,
The macOS version can be just downloaded from github releases. |
I can volunteer if needed. If done I'd use it on QuickChick, which would save a lot of effort compared to current process. |
We should probably install Coq via OPAM even if there are binaries available, for convenient dependency management. |
As long as it can be cached somewhere that will avoid rebuilding every time. |
Did you mean caching Coq or dependencies? |
I mean Coq. I'm not sure what you mean by "dependencies". |
What do you mean exactly? The problem with the caches is that only successful builds are cached. |
Correct me if I'm wrong: I thought the |
After reading this thread discussing the fate of Nix community support in Travis, and given that we now have pretty good GitHub Actions support (with very short and straightforward configuration files), I propose to decide that we won't add Coq community support to Travis and to close this issue. |
Meta-issue
Our current template builds everything in Docker, which is less flexible than what Travis can do with other languages. It'll be nice if we could have
language: coq
and run scripts conveniently.Travis allows community-supported languages, and our community seems the right people to do that.
Similar issue in OCaml world: ocaml/ocaml-ci-scripts#53
The text was updated successfully, but these errors were encountered: