-
Notifications
You must be signed in to change notification settings - Fork 429
Travis setup #173
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
Travis setup #173
Conversation
@pedromorgan, can you open issue for this? I'm not certain what this site does, and their own description is pretty threadbare. Wikipedia says they do online continuous integration. What problem does this solve for Tidy? Don't answer here, let's take it to issues, but those are the types of questions some of us will ask. It looks harmless enough until you say enable hooks (which is probably harmless). If this affects everyone's workflow in some way, it's especially important to understand what you're asking us here. Thanks! |
Maybe this answers your question. Re "hooks"... don't panic, its just a switch that makes github trigger a build on travis Travis should not mess things up as is only appears in the "repos" as
eg |
Moot,,, nobody want it ! |
Can we reopen this? Now that we have a release, it would be useful to make sure that there's some way to ensure that subsequent changes don't cause regressions. |
Thanks to @pedromorgan 's excellent start, I now have something running using Travis in my development version. You can see that file at https://github.com/vielmetti/tidy-html5/blob/master/.travis.yml I converted the installation so that it runs in one of Travis's containers and thus the whole thing builds in about 90 seconds. Of note for the next person to come around to this is that the version of |
@vielmetti Halleluiah.. Some olde style devs around here are nervous about config of travis + build etc.. There was a Jenkins instance also to build a project.. but no fluff there.. We need to automate this process though, so that any changes to master build the docs,.. whoever is doing it in future moving forward.. automajically... I got the stuff here.. am familiar with this.. only problem is upstream devs need to either embrace, or delegate.. |
@pedromorgan thanks. I don't fully understand Travis yet & would be happy to work with someone familiar with the system. Yes, building the docs automatically so that they track changes is important. There's a page full of doxygen errors and warnings at https://travis-ci.org/vielmetti/tidy-html5/jobs/80146632 that are all probably easy to fix. The other first next thing I want to try to tackle is to update the test infrastructure, so that I can catch regressions and (especially) differences in the build between x86 and ARM architectures. My try on the Raspberry Pi 2 came up with about 100 lines of |
@pedromorgan embrace, delegate, or do the work in a fork; the main thing I want to work on is not the code itself (which seems in good hands) but the build/test/deploy infrastructure so that eventually it's dirt-easy to make |
Ok @vielmetti were in.. What travis does, I suppose is compile and make sure it compiles.. Thats why I had a jenkins instance.. So i could create my slaves.. So this is all in the front end.. and I am ready.. and waiting.. Snag is that upstream.. them dev's are harcore c coders and dont understand et all.. You can't teach an olde horse to suck gravel I have a clean vision on how it goes, but upstream/masters have different debates and plans more concered witht the binary.. the docs is a second thought.. So thats why I almost give up.. pain in the ass init.. I give them the patches, setup a website, and later its kinda.. What more can I do.. ????????????????????? pissed of pedro who's submitted all thsi stuff already.. !!! Now go figure it out yourselfves.. I cant be bothered anymoere.. to turn an olde goat around.... quite frankly.....!"!! |
@pedromorgan - regarding Jenkins - I have a Pi that I can throw into the Jenkins mix as a remote, I think, but the last time I looked at setting it up for myself the complexity was too enormous. (Or more to the point, I wasn't working with someone who knew it cold.) My last go at Travis for building docs using a modern-ish version of doxygen looks like it also did work, at least for the trivial case of not generating errors and only a few warnings. I picked up on what Travis was all about through the |
More notes on travis + doxygen for what it's worth: travis-ci/apt-source-safelist#40 we'd like a newish doxygen made available inside a supported Travis container so that the build is as efficient as possible. |
I now have a Travis config at https://github.com/vielmetti/tidy-html5/blob/master/.travis.yml which successfully builds It doesn't do any |
@vielmetti, @pedromorgan, zoot, while pondering whether this needed re-opening, there was a great flurry of comments ;=)) good to see... Did not like some, nor agree with all the comments given, but to touch a few... It was here that I saw some yaml that did
That's because there are no real Do you propose adding some, maybe using some selected files from Look forward to that... |
This is the travis setup. and preview is at
Also changed the README to emphasise what it does..
Enable
Too enable, one of the admin needs to gointo..
https://github.com/htacg/tidy-html5/settings/hooks
and add service "travis"..
it will then appear here..