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
Update Travis configuration so that it does not compile Rakudo every single time. #85
Comments
Just for the record, whateverable builds are available publicly. For example: https://whateverable.6lang.org/HEAD. However, they're built with a very recent version of glibc so they don't work on Travis. Somebody has to do it properly, and I'm even ready to store them, but it'll take a few weeks to get the amount of builds I currently have for whateverable. Though maybe for Travis it doesn't matter. |
In most cases it makes sense to use a Rakudo release (in contrast to latest master) when testing a module. So given we actually start providing official binary builds of releases (I hope we do!), we could just use those in the Travis config. |
Here are instructions to use packages: (All versions are present, so different version could be specified in a matrix.) |
Who has privileges to change the 'perl6' configuration? We have two working solutions (docker containers that @JJ provides, and rakudo-pkg that @nxadm provides), so all that's needed is for someone to update the Travis configuration to use one of the two. Personally I'd go with rakudo-pkg, as it's the more conventional solution. |
Traditionally, a regular travis setup looks like this: language: raku
raku:
- latest
# - 2019.x
- "2019.07.1"
- "2019.07"
- "2019.3"
... However, if there one could also play with the prefix: language: raku
raku:
# What regular users would probably use
- latest
- 2019.07.1
- 2018.03
# Advanced cases:
# from git
- branch-master
- branch-6f
# from docker
- docker-star:tag For my use case packages that include zef are enough, but maybe a more flexible system can be useful for some people. |
@PatZim I guess I have that? Just tell me where to click :) |
Oh wait, you probably mean the travis side… that I'm not sure :S |
I think the procedure is sending a PR to travis, but I am not sure who did the integration before (zoffix?). |
Somewhere around here: https://github.com/search?q=org%3Atravis-ci+perl6&type=Code |
@PatZim We need to create a PR in the Travis site. They are "community"-maintained configurations. In this case, since we'll be substituting the old one, maybe some additional check is needed, but we'll do it as we go. |
@nxadm Are you actually ok with your packages becoming the official travis perl6 source? If yes I'll Soon start looking into getting a travis PR ready if no one beats me to it. |
Renaming (and its results) can take time, and once it's done, it's better
if we create _new_ configurations, leaving the old one for some time,
instead of just substituting it. Remember, perl6 installations are not
going to disappear overnight.
|
The official Travis configuration for Perl 6 uses Rakudobrew to download from source and then compiles. Every single time.
We would need either
If there's any other option, or you prefer any of those above, please let us know.
The text was updated successfully, but these errors were encountered: