Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2018 08:53:11 -0700
From:      Alan Somers <asomers@freebsd.org>
Cc:        Norbert Fuhs <norbert.fuhs.xyz@gmail.com>,  "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: Is there anyway to get FreeBSD supported by Travis CI?
Message-ID:  <CAOtMX2iVcbLwcOxYMbWNDR%2Bf5rtiUGWQ%2BUeAamOfgGWkVTvZQw@mail.gmail.com>
In-Reply-To: <CAOtMX2gNG0_w73yNXN=EVR7KAoQh01OdsYmC05cj39zsxTUWJw@mail.gmail.com>
References:  <CA%2BoTfY4j_kwnuu=-Xz2TCJdusSaxRmzprFOS7y8KqOTOjD9Zvw@mail.gmail.com> <CAOtMX2gNG0_w73yNXN=EVR7KAoQh01OdsYmC05cj39zsxTUWJw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 5, 2018 at 11:09 AM Alan Somers <asomers@freebsd.org> wrote:
>
>  On Tue, Jun 5, 2018 at 10:50 AM, Norbert Fuhs <norbert.fuhs.xyz@gmail.co=
m> wrote:
>>
>> Hi,
>>
>> Is there anyway to get TravisCi to support FreeBSD or help FreeBSD with =
it
>> as voluntary?
>>
>> I normally use Ubuntu and try to get Ponylang <https://www.ponylang.org/=
>
>> running on FreeBSD 10.4  and they use Travis as CI.
>>
>> Best,
>>
>>
>> Norbert
>> _______________________________________________
>> freebsd-testing@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-testing
>> To unsubscribe, send any mail to "freebsd-testing-unsubscribe@freebsd.or=
g"
>
>
> Short answer: no.
>
> Long answer:
> Travis uses Linux containers + Docker for their Linux builds.  FreeBSD ob=
viously can't run in such an environment.  They do something different for =
OSX, but they either aren't interested or aren't able to extend that to Fre=
eBSD (and based on the OSX queue times, it seems likely that Travis's OSX s=
ystem is too expensive to provision enough nodes).  However, there are alte=
rnatives to Travis:
>
> * BuildBot and Jenkins both run on FreeBSD, and they both work with GitHu=
b commit hooks and statuses.  It's a lot more work than using Travis, but y=
ou can set up your own FreeBSD build server using one of these tools.  You =
can see a live example here: https://alan.ci/buildbot .
> * If you don't care about security, because you won't be building pull re=
quests from untrusted contributors, then you can use BuildKite's service wi=
th your own build server.  It's easier to setup than the other option, but =
not secure.  GitLab has a similar agent.  But again, it's not secure.  Buil=
dKite is working on a solution to the security problem, but there's no ETA.=
  However, BuildKite's agent is open source and fairly simple.  So if you'r=
e sufficiently motiviated, you could write your own agent that uses a per-b=
uild Jail for security.
> * If you don't mind slow builds and you don't mind ripping off Travis's f=
ree service, then there actually is a way to run FreeBSD on Travis: with QE=
MU.  If it sounds like an abomination, that's because it is.  It's incredib=
ly slow, but mostly works.  You can find instructions here: https://erouaul=
t.blogspot.com/2016/09/running-freebsd-in-travis-ci.html
>
> -Alan

As of yesterday, there's a better option.  Cirrus Labs just added a
FreeBSD option to their CI service, and it's free for OSS.  It's easy
to setup, and it runs your tests in a full VM.
https://cirrus-ci.org/guide/FreeBSD/

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2iVcbLwcOxYMbWNDR%2Bf5rtiUGWQ%2BUeAamOfgGWkVTvZQw>