Travis CI - Continuous Integration Testing Server

David Nadlinger see at klickverbot.at
Fri Oct 26 06:28:19 PDT 2012


On Thursday, 25 October 2012 at 19:10:39 UTC, Jacob Carlborg 
wrote:
> I've recently got some experience of a project called Travis 
> CI. As the title says it's a CI, Continuous Integration testing 
> server for open source projects. They host all the building and 
> testing, you just add a YAML configuration file and a github 
> hook and then it can build and run your tests. It can also test 
> pull requests.

Yes, Travis is indeed a great service. We use it for LDC CI and 
pull request testing (sadly, it is x86_32 only right now, but 
apparently the platform is supposed to be moved to 64 bit 
machines soon).

> This Travis started out as a build server for Ruby, where it's 
> wildly used. Ruby on Rails among other projects are using it. 
> It also supports other languages like C, C++, Scala, Go and 
> many others. The only problem is that it doesn't support D and 
> it only supports Linux.

Well, »it doesn't support D« is true in that there is no 
built-in support for it, but you are allowed to install arbitrary 
software on the system as part of your installation scripts (for 
example, the LDC pre-build hooks install LLVM and libconfig++). 
The most straightforward way would be to set up an Ubuntu PPA 
containing the DMD/GDC/LDC versions you need. But it would 
probably be a wise idea to coordinate with the Travis guys 
anyway, to avoid that suddenly some two hundred D projects all 
pull in the same packages from a server not in the Travis 
network…

> Unfortunately I haven't got any answers yet. Maybe we can push 
> this somehow.

I'd try to approach the Travis people in #travis on FreeNode – 
from my experience, they are quite responsive there. Also note 
that all of Travis is open source, so I'm sure the process would 
be much quicker if there was an actual patch adding D support to 
discuss.

David


More information about the Digitalmars-d mailing list