Re: Travis

By the way, the tasks run are in the .travis.yml file, which can be run locally from the repository home directory if you have a basic Ruby runtime as follows:

(sudo) gem install bundler
bundle install
bundle exec htmlproof ./index.html --check-html
bundle exec htmlproof ./publishing-snapshots/REC-csv2json/Overview.html --check-html
bundle exec htmlproof ./publishing-snapshots/REC-csv2rdf/Overview.html --check-html
…

Gregg Kellogg
gregg@greggkellogg.net

> On Nov 30, 2015, at 8:52 AM, Gregg Kellogg <gregg@greggkellogg.net> wrote:
> 
>> On Nov 30, 2015, at 7:30 AM, Ivan Herman <ivan@w3.org <mailto:ivan@w3.org>> wrote:
>> 
>> Gregg,
>> 
>> I have switched travis on for the repository. What happens now? For example, where is this htmlproof executed? Ie, which machine around the globe, and where does that stuff come from? What is the procedure (travis-novice:-)
> 
> It’s executed on Travis servers, which people voluntarily provide to run such jobs. Basically, it listens for commits to a repository and schedules a job, sometimes there can be several jobs run for a given commit, when a merge happens. You can kick it off manually using the “Test service” button from the Webhooks & services view for “Manage Travis CI” in the repository settings (which I don’t have access too). Otherwise, it will automatically go on the next commit to the repo. Once it’s started, it should be visible here: https://travis-ci.org/w3c/csvw <https://travis-ci.org/w3c/csvw>.
> 
>> Also: the link checker will fail, as we know, because the cross references will fail until I put the files onto W3C/TR/2015 (in which case we can just as well run the link checker on W3C).
> 
> Yes it will fail, until documents are moved into place, but the messages will likely be useful anyway. You’ll probably get “Still failing” messages from travis, which I believe you can silence through your settings. It’s also possible to put a “bug” in the repo README that displays the status of the CI tests. For example, the Structured Data Linter runs tests automatically which are shown here: https://travis-ci.org/structured-data/linter <https://travis-ci.org/structured-data/linter>.
> 
> Gregg
> 
>> Ivan
>> 
>> ----
>> Ivan Herman, W3C 
>> Digital Publishing Lead
>> Home: http://www.w3.org/People/Ivan/ <http://www.w3.org/People/Ivan/>
>> mobile: +31-641044153
>> ORCID ID: http://orcid.org/0000-0003-0782-2704 <http://orcid.org/0000-0003-0782-2704>
>> 
>> 
>> 
>> 
> 

Received on Monday, 30 November 2015 16:55:41 UTC