From owner-freebsd-testing@freebsd.org Tue Jun 5 17:09:55 2018 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81844FE1807 for ; Tue, 5 Jun 2018 17:09:55 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0B8684EE4 for ; Tue, 5 Jun 2018 17:09:54 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf0-x242.google.com with SMTP id g21-v6so2757932lfb.4 for ; Tue, 05 Jun 2018 10:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=7Ur+IwAZl/9wdzIo6jD2gohrPvBxry4bYL+eIm+Dmf8=; b=jNuTuF202i8AbblLIkNvyGaxv7dAN4Jq6cprBQhWvGVqSyfy+Wa/cIIPeGziXKgTqk t9gQs2iErh/1gYGD30tURscjmXi6cFULF9i6p2vdGlgR7ZseR4x7a93xAQ/0h1qrABVw eKJ755IPU//Wc/cf0ekbPtZuZIys+7UlpyZZboj4AyhD6+6iL1CxjC1VrG9fumi8A+58 FujbewhUluEl5DrwGbBui+KStIIaXkIGdLvLI3V2hehetM5xWp5uzYvNrtj/kYgq8AAj X5IXlMYCxZBDFOkOJtGbRqfM5yEQTcZ7fmTLOt0o4jPZBY/kqeyj0gI0Vjfk5AVAjVWR RTuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=7Ur+IwAZl/9wdzIo6jD2gohrPvBxry4bYL+eIm+Dmf8=; b=SYb5aBwEfSEAyt+t6a1++iTspPwBY30u7dHADazmxGNwiUmAZDhkI7WF8J7+P2DIPO b5S/62jE9f6ctWdxsCsLnbUGbJiZlKB2APqNlatGzkbiLZqO16KjLXYo7fpP5Zz1ehBG rero+Eiw0a3jJ3DILto0n4HYUgTh4Qum0/ONWcYpFg5DRCN+XNwIO1s6thT88IWIcZk7 vCS4NfWy9uCntBJdfdHYKNHqeJGSbtrTUWyHp6ixdh0iz5iCiMcYu2md0QwOceZKMhDA g6jC6J2enLxuglsHC/EzpfZDderPSIZOfJdhPZWoMGnBVn1kLnK985RFMZjwdzMpGR1v wN3g== X-Gm-Message-State: APt69E2+mjIe2I7K3LFPoNwM4e0SudwPcnv57rFEVf/lkKvSV1mkkvfV GdvzUF9O3I4yt9T8UYIj3vE0PaB7dpEfThIzZP4= X-Google-Smtp-Source: ADUXVKL27ZxukUgA1jRrinFBicKAdC7I1lqb06hrlDStqpDRK6KepSL0QTm/S55fqzfNMYAsAcQUmGzbjjRK/G/M/+E= X-Received: by 2002:a2e:5111:: with SMTP id f17-v6mr7438339ljb.16.1528218593365; Tue, 05 Jun 2018 10:09:53 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 2002:ab3:7206:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 10:09:52 -0700 (PDT) In-Reply-To: References: From: Alan Somers Date: Tue, 5 Jun 2018 11:09:52 -0600 X-Google-Sender-Auth: QM6RZ6vbSYAs8kFcwo5E2P7FGsA Message-ID: Subject: Re: Is there anyway to get FreeBSD supported by Travis CI? To: Norbert Fuhs Cc: "freebsd-testing@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 17:09:55 -0000 On Tue, Jun 5, 2018 at 10:50 AM, Norbert Fuhs 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 > 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.org" > Short answer: no. Long answer: Travis uses Linux containers + Docker for their Linux builds. FreeBSD obviously 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 FreeBSD (and based on the OSX queue times, it seems likely that Travis's OSX system is too expensive to provision enough nodes). However, there are alternatives to Travis: * BuildBot and Jenkins both run on FreeBSD, and they both work with GitHub commit hooks and statuses. It's a lot more work than using Travis, but you 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 requests from untrusted contributors, then you can use BuildKite's service with 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. BuildKite 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're sufficiently motiviated, you could write your own agent that uses a per-build Jail for security. * If you don't mind slow builds and you don't mind ripping off Travis's free service, then there actually is a way to run FreeBSD on Travis: with QEMU. If it sounds like an abomination, that's because it is. It's incredibly slow, but mostly works. You can find instructions here: https://erouault.blogspot.com/2016/09/running-freebsd-in-travis-ci.html -Alan