[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guix on travis-ci

From: Efraim Flashner
Subject: guix on travis-ci
Date: Mon, 19 Nov 2018 11:01:41 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

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

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

     - gnupg

    - wget
    - gpg --keyserver --recv-keys 
    - echo -e 'y\ny' | sudo bash
    - guix pull --fallback --substitute-urls="";

    - guix build --fallback --substitute-urls=""; -f guix.scm

    email: false

    depth: 1

Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]