Open FMCorz opened 7 years ago
I've seen this too, and only with older Moodle releases (pre 3.0 I think). This might be related to MDL-50732; with the VCS upstream specified prefer-dist doesn't failover correctly and you hit the GitHub credentials limit.
I tried removing --prefer-dist
and the same error occurred. Maybe something changed with the new Trusty image?
I couldn't find anything helpful, so you will likely have to do something like this: https://github.com/moodle/moodle/blob/master/.travis.yml#L99
That way Composer can authenticate with GitHub and get around any API rate limits.
I still get this error. Are there any other workarounds?
Could you have a look at this? https://travis-ci.org/elearningsoftware/moodle-mod_journal/jobs/482905389 I'm looking for another workaround as the one @polothy added is not working for me. Any help would be greatly appreciated!
Looking at your build log, looks like you did. I assume you added GITHUB_APITOKEN
to your Travis settings for the project.
Sorry for the late reply. Yes, I've added GITHUB_APITOKEN to travis settings. I still have this issue. Any ideas?
I'm not sure what is going on, but I'm hitting this:
Would that be that there are too many requests coming from Travis? Or is it the branch?
This particular failure happened on 2.7 and 2.8 with PHP 5.4, but I've noticed it happening with other combinations.
Full build: https://travis-ci.org/FMCorz/moodle-block_xp/builds/273875512