Il giorno mer 6 nov 2019 alle ore 12:15 Joe Orton <jor...@redhat.com> ha scritto: > > On Wed, Nov 06, 2019 at 10:54:56AM +0100, Luca Toscano wrote: > > I just noticed > > https://docs.travis-ci.com/user/installing-dependencies/#installing-dependencies-on-multiple-operating-systems, > > so the 'addons' will be used by travis only if the os can use them (I > > was afraid of having windows and apt combined). The only thing that I > > would add to travis.yml are the ifs to separate > > before_install/script/etc.. for every os, I think that we should add > > windows as soon as possible.. Do we have a list of build commands to > > test in Travis? > > I have no idea how to build on anything but Linux :) Someone could do > osx too, travis supports that...
Me too, I am not a big Windows user, but I am pretty sure that somebody else in the dev community have some info! Will wait :) > So it works for PRs and successfully failed for a bogus commit - > > https://travis-ci.org/apache/httpd/pull_requests > > This one is sensible? > > https://github.com/apache/httpd/pull/71/commits/4a46327813e87f3d662e65361e6d9240ce855db5 +1 looks good, we can either keep the ifs in travis config or go for specific files, I like both approaches! > I don't know if anything other than Linux can actually be tested like > this tbh. (Also trying to context switch between svn & git doing this > stuff is going to melt my brain!) We could start with a simple build on Windows, I think it would be sufficient for the moment.. Osx should be easier, will try to add something as well. The current format of travis.yaml is simple enough that people with experience can add their tests, but surely some documentation is needed! Luca