[BIOSAL] Travis CI based build/test in GitHub

Boisvert, Sebastien boisvert at anl.gov
Sat Nov 8 21:16:21 CST 2014


> From: George K. Thiruvathukal [gkt at cs.luc.edu]
> Sent: Saturday, November 08, 2014 9:06 PM
> To: Boisvert, Sebastien
> Cc: biosal at lists.cels.anl.gov
> Subject: Re: [BIOSAL] Travis CI based build/test in GitHub
> 
> 
> 
> 
> ​"git mv" is the right way to do this, right?

Yes.

You need to do "mkdir -p tests/travis-ci/" first though.

> 
> 
> George​
> 
> 
> 
> George K. Thiruvathukal, PhD
> 
> Professor of Computer Science, Loyola University Chicago
> 
> Director, Center for Textual Studies and Digital Humanities
> Guest Faculty, Argonne National Laboratory, Math and Computer Science Division
> Editor in Chief, Computing in
>  Science and Engineering (IEEE CS/AIP)
> 
> (w) gkt.tv (v)
>  773.829.4872
> 
> 
> 
> 
> 
> 
> 
> On Sat, Nov 8, 2014 at 9:02 PM, George K. Thiruvathukal 
> <gkt at cs.luc.edu> wrote:
> 
> 
> Yes, I will move things to be consistent with your Jenkins setup. I'm also working on how to get the CI "matrix" pattern working so we can test all combinations of build variables. It's pretty amazing what Travis can do, although I also have some doubts about
>  whether there is any sort of architectural diversity. With your Jenkins setup, we have total control of the backend nodes, including exotic things the Travis folks are not likely to support anytime soon.
> 
> 
> 
> I will try to do this before Monday but might have to work on it then. 
> 
> 
> This has been so much fun. :) Suffice it to say, I'm now back to GitHub for good.
> 
> 
> 
> George
> 
> 
> 
> 
> 
> George K. Thiruvathukal, PhD
> 
> Professor of Computer Science, Loyola University Chicago
> 
> Director, Center for Textual Studies and Digital Humanities
> Guest Faculty, Argonne National Laboratory, Math and Computer Science Division
> Editor in Chief, Computing in
>  Science and Engineering (IEEE CS/AIP)
> 
> (w) gkt.tv (v)
>  773.829.4872
> 
> 
> 
> 
> 
> 
> 
> 
> On Sat, Nov 8, 2014 at 8:58 PM, Boisvert, Sebastien 
> <boisvert at anl.gov> wrote:
> 
> > From: George K. Thiruvathukal [gkt at cs.luc.edu]
> > Sent: Saturday, November 08, 2014 8:46 PM
> > To: Boisvert, Sebastien
> > Cc: 
> biosal at lists.cels.anl.gov
> > Subject: Re: [BIOSAL] Travis CI based build/test in GitHub
> >
> >
> >
> >
> > ​Seb,
> >
> > I just realized that the top-level message probably should be "biosal". Sorry! I sometimes think of biosal and thorium as the same thing, even though they're not! :)
> >
> >
> > I'll work on the ​answer to the junit.xml question. It's not clear to me that Travis supports all of these things yet, especially for visualizing the tests. I'm guessing it will be supported at some point soon though.
> >
> >
> >
> > Do you want me to amend the commit messages in some way, or can we live with a small amount of imperfection?
> 
> You don't need to amend. That is fine.
> 
> 
> >
> >
> > George
> >
> >
> >
> > George K. Thiruvathukal, PhD
> >
> > Professor of Computer Science, Loyola University Chicago
> >
> > Director, Center for Textual Studies and Digital Humanities
> > Guest Faculty, Argonne National Laboratory, Math and Computer Science Division
> > Editor in Chief, Computing in
> >  Science and Engineering (IEEE CS/AIP)
> >
> > (w) 
> gkt.tv (v)
> >  773.829.4872
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Nov 8, 2014 at 8:05 PM, Boisvert, Sebastien
> > <boisvert at anl.gov> wrote:
> >
> > Can you tell Travis-CI to pick up the JUnit XML files (*/*.junit.xml) so that it shows the results ?
> >
> > > From:
> > 
> biosal-bounces at lists.cels.anl.gov [biosal-bounces at lists.cels.anl.gov] on behalf of George
> >  K. Thiruvathukal [gkt at cs.luc.edu]
> > > Sent: Saturday, November 08, 2014 5:53 PM
> > > To:
> > 
> biosal at lists.cels.anl.gov
> > > Subject: [BIOSAL] Travis CI based build/test in GitHub
> > >
> > >
> > >
> > >
> >
> > > Hi,
> > >
> > >
> > > There is separate value to doing build/test automation using the hosted Jenkins setup at ANL, so I started a new thread for something that is directly supported by GitHub and fully cloud hosted. It is a bit of a coincidence that Seb and I were both thinking
> > >  about testing today, so I don't want to mess up the thread he opened up on Jenkins builds. (I was starting to do it for another project and said, why not try it for Thorium/Biosal, too?)
> > >
> > >
> > > On my "granularlity" branch, I have done a similar proof-of-concept to Seb's incredible work on the Jenkins side. The notable difference is that this is using the hosted Travis CI solution. So to be similar to Seb's earlier posting today, here is a bit
>  about
> > >  the demo I have put together:
> > >
> > >
> > > build:
> > 
> https://travis-ci.org/gkthiruvathukal/biosal (Build History tab)
> > >
> > >
> > > console:
> > 
> https://travis-ci.org/gkthiruvathukal/biosal (Console tab)
> > >
> > >
> > > tests:
> > 
> https://travis-ci.org/gkthiruvathukal/biosal (Console tab)
> > >
> > >
> > > doc:
> > 
> https://github.com/gkthiruvathukal/biosal/tree/granularity
> > >
> > >
> > > One this last one (doc), note that you can see whether the build succeeded and the tests passed. I integrated this with the README.md page (just scroll down).
> > >
> > >
> > > It's basically all present in one place but incredibly easy to understand the results. I especially like the colorized console output, which I know is one of Seb's favorite features as he always reminds me to use a proper editor and enable colors! :-)
> > >
> > >
> > > I will be writing up some notes about the overall approach, but you can look at .travis.yml (top level), which is what triggers the build/test scenario above. I don't think this is in competition with your Jenkins work, because Travis doesn't have as much
> >  biodiversity
> > >  when it comes to the node types supported. At some point, however, we might want to see whether we can add some nodes to the setup being used by Travis, which apparently relies on contributed build boxes.
> > >
> > >
> > > Best,
> > > George
> > >
> > >
> > >
> > >
> > >
> > >
> > > George K. Thiruvathukal, PhD
> > >
> > > Professor of Computer Science, Loyola University Chicago
> > >
> > > Director, Center for Textual Studies and Digital Humanities
> > > Guest Faculty, Argonne National Laboratory, Math and Computer Science Division
> > > Editor in Chief, Computing in
> > >  Science and Engineering (IEEE CS/AIP)
> > >
> > > (w)
> > 
> gkt.tv (v)
> > >  773.829.4872
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 


More information about the BIOSAL mailing list