From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: guix on travis-ci Date: Mon, 19 Nov 2018 11:01:41 +0200 Message-ID: <20181119090141.GA6363@macbook41> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOfRE-0005WG-Ry for guix-devel@gnu.org; Mon, 19 Nov 2018 04:01:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOfRA-0007Gj-0v for guix-devel@gnu.org; Mon, 19 Nov 2018 04:01:48 -0500 Received: from flashner.co.il ([178.62.234.194]:54958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOfR9-0007G0-Qz for guix-devel@gnu.org; Mon, 19 Nov 2018 04:01:43 -0500 Received: from localhost (unknown [5.102.239.133]) by flashner.co.il (Postfix) with ESMTPSA id 5E926406CF for ; Mon, 19 Nov 2018 09:01:42 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have a working Travis-CI file that I've been working on occasionally and I wanted to share it. As-is it works, albeit subject to the normal limitations of Travis, ie: the builds can't take too long, and apparently you're limited to ~10000 lines of log. I also have one for Gitlab's CI integration, but I haven't figured out how to get the daemon and build users working nicely yet. As far as a TODO going forward, I'd like to be able to integrate this in with a regular .travis.yml file, where it's not Guix or nothing, and I'd like to kick-off multiple builds for different packages in one repo (GUIX_PACKAGE_PATH). Also, if anyone wants to help make this script worse by figuring out how to add the echo line to a 'curl | sudo bash' line I'd be interested ;P. language: cpp sudo: enabled os: linux sudo: required addons: apt: packages: - gnupg install: - wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-instal= l.sh - gpg --keyserver pgp.mit.edu --recv-keys 3CE464558A84FDC69DB40CFB090B1= 1993D9AEBB5 - echo -e 'y\ny' | sudo bash guix-install.sh - guix pull --fallback --substitute-urls=3D"https://berlin.guixsd.org h= ttps://mirror.hydra.gnu.org" script: - guix build --fallback --substitute-urls=3D"https://berlin.guixsd.org = https://mirror.hydra.gnu.org" -f guix.scm notifications: email: false git: depth: 1 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlvye/EACgkQQarn3Mo9 g1HPWw/7BgEOk4E2cIdsMS1agoDafru9UBqloBTOaLOeBTx1UQ7UetfJsbzXYYUb KbJ/fXSUwvmsxFArK72Gv9dobWqfAgXKOgmgz803lQL0eH4Bh5nE/wQoCvy/8UNI R1hGmrlvibZxJ+LbCgBrS3EiTxWFZ5hqyIHsAMbV4MBkhwbwRGjsdpeRuUZ1Ms66 ELR6yManmfom0NFNSp4GeL5h1lpF/B+Hwk4OwBFpS9fe2bD5fb7qjjU1yCU9CVE3 +rMHH+nI+4dV6+pgrwOPq/auWKC0uEOaav6KUZ7WkX6ncS04OSq9QHHvCJNUUTBc DZaCYaaF/1/GxEZ/6jo+x4cRTwJ5rt83WYpBwkDgZbTQNspMQqfa+cfDXuGN52Sh tFXABtSAY1tY50qsVMiM3uUIhZhAwLrQJD4nGrdZihktzuPLtSarmkwv5obq5bXD k7WxCINnmWx9bDqvp329okwiktd3L+WF/a8Jp6g4Srlpz2l+YfAqkPSyVP5lNbCW IWEs5uRALTK5c3cBhDChjiU2shvsuPFMfJo2fWI5KgV820tsU6Pl1b5whwhOVPET JiNZtmZuUZZSyUdjljJoOq6HlHGcf1EYXdWWzuHsuddL68gDQb8Xj9cT2Fzh1B3K tb8igwKiDuSwAkaeMX6tboyAYGyKzl7gvRK5ifMZlKOgCo+G818= =pp/e -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--