From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: guix on travis-ci
Date: Mon, 19 Nov 2018 11:01:41 +0200 [thread overview]
Message-ID: <20181119090141.GA6363@macbook41> (raw)
[-- Attachment #1: Type: text/plain, Size: 1627 bytes --]
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-install.sh
- gpg --keyserver pgp.mit.edu --recv-keys 3CE464558A84FDC69DB40CFB090B11993D9AEBB5
- echo -e 'y\ny' | sudo bash guix-install.sh
- guix pull --fallback --substitute-urls="https://berlin.guixsd.org https://mirror.hydra.gnu.org"
script:
- guix build --fallback --substitute-urls="https://berlin.guixsd.org https://mirror.hydra.gnu.org" -f guix.scm
notifications:
email: false
git:
depth: 1
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2018-11-19 9:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-19 9:01 Efraim Flashner [this message]
2018-11-20 9:45 ` guix on travis-ci Efraim Flashner
2018-11-20 10:01 ` Julien Lepiller
2018-11-20 10:10 ` Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181119090141.GA6363@macbook41 \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.