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
Making the Travis build faster and more robust #80
Comments
I'll summarize the Travis situation as Matthew is going through old issues at the moment:
The ideal solution would be to get Agda's Travis to upload an artefact after each successful build and make it available to all. This way stdlib (but also any other Agda library maintainer out there) can just pull the latest executable and use it to run its tests. Now that Travis has build stages, it looks like it ought to be possible to have this deployment only happen when |
Thanks for the summary! Nice to know it's still being looked it. As I don't have much knowledge of either Travis or the Agda tests I might leave this to someone else more involved in the main Agda repository. |
I've created the branch Given that we've been getting a lot of updates recently that'd at least give us newer documentation even if it'd take long. |
Ok, so the build succeeded but apparently the upload was not successful. I'm not sure why. Could it be that the Edit: rather than using an encrypted variable, it seems we could just setup a variable in repository settings |
Mmh, wouldn't the fetch already have failed if the token was invalid? Maybe it is worth to remove the pipe into
to see whether this succeeded!? |
This should be reverted at the end: this redirection is here to avoid leaking information about the token when a push fails.
Yup it's a credentials issue (happy to see that travis now censors this kind of information rather than leaking it via error messages):
I guess the easiest solution is to setup a new github token (maybe directly in the repository settings?). |
Yes, you are welcome to create a new token (maybe it has expired). And yes, I think it goes into the repo settings. |
Oh wow, I didn't know I could modify these settings myself! It worked. I'll push a dummy commit to see whether the build is sped up by caching |
Pushed: 782f961 Hopefully this doesn't crash given all the tests I have run... It's still not completely satisfactory but it'll have to do until we get into the business of build stages. |
Nowadays:
So I consider this to be solved. Making the build even faster is of course still |
From https://travis-ci.org/agda/agda-stdlib/builds/102799931
Not sure it matters, Travis was already broken as of #78.
The text was updated successfully, but these errors were encountered: