-
Notifications
You must be signed in to change notification settings - Fork 46
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
Problem with .travis.dist.yml #10
Comments
Just note that there is moodlehq/moodle-plugin-ci#10 about a problem with the currenly provided .travis.dist.yml file in the master branch.
I remember I kept docker container run as last item in install step for a reason :) Anyway, I don't mind having it within install, although, may be a better place for it within behat command (like selenium jar execution used to be) along with php server initialisation (already there)? |
Just to confirm this is the problem I was experiencing a few days ago when I tried to use the travis.dist in my own plugin. |
Just to note in #5 we had a fix for Firefox container version, the actual change was made in open-lms-open-source/moodle-plugin-ci#107 |
Yeah, you are correct, I became confused with our #5 , open-lms-open-source/moodle-plugin-ci#99 and everything else. And did the same in the CHANGELOG issue (#11 ) that I'm amending right now. BTW, oftopic, just saw that, curiously... while we add firefox for everybody ( |
I really think, as commented in the issue description... that all that stuff should be kept away from developers. In an ideal world, they should be able to just define the jobs combos (branch, db...) they want to run and then let I'm aware we are not near to that, just painting the (my) ideal picture. In fact, it's something that we need to be really careful, because it's also something that, maybe doesn't correspond to all jobs, but just to the behat ones (for example), or in other cases (for example, nvm / nodejs, or codechecker...) something similar happens, each job should install exclusively what is needed for it. Anyway, this belongs to other, future issues. |
In #5 we moved to dockered selenium-firefox execution. But it seems that the final .travis.dist.yml changes are a non-working version. Basically:
moodle-plugin-ci install
then, the later, is unable to complete the moodle.git clone operation. See this travis build and the changes applied (following the.travis.dist.yml
advise).moodle-plugin-ci install
it's possible to get it working. See this travis build and the changes applied.So, this issue is about to fix that (make a really working
.travis.dist.yml
file). And, maybe (optional) to consider to move all this stuff, and also the nvm / nodejs one (see #7) to withinmoodle-plugin-ci install
. Both are just "distractions", the plugin developer shouldn't need to modify all that stuff, ideally install should provide all (IMO).Ciao :-)
The text was updated successfully, but these errors were encountered: