From 9c58ba8714926f6b452625947f8d722f69909fef Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Fri, 16 May 2014 10:40:06 +1700 Subject: [PATCH] Re: [PATCH v2] Enable Travis-CI as a backup continuous integration service. --- ea/56fe834b70e5456a3b05c758e58af14cd4897a | 189 ++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 ea/56fe834b70e5456a3b05c758e58af14cd4897a diff --git a/ea/56fe834b70e5456a3b05c758e58af14cd4897a b/ea/56fe834b70e5456a3b05c758e58af14cd4897a new file mode 100644 index 000000000..e00b8f1e1 --- /dev/null +++ b/ea/56fe834b70e5456a3b05c758e58af14cd4897a @@ -0,0 +1,189 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 4FD6B431FBC + for ; Thu, 15 May 2014 10:40:33 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id j9eWO8G9PVy4 for ; + Thu, 15 May 2014 10:40:25 -0700 (PDT) +Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com + [209.85.220.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 74402431FAE + for ; Thu, 15 May 2014 10:40:25 -0700 (PDT) +Received: by mail-pa0-f48.google.com with SMTP id rd3so1357185pab.21 + for ; Thu, 15 May 2014 10:40:24 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type; + bh=KqUwzgYPnbu4nLyuJ/tAac17dM8iK0WhUEOeg2T59hc=; + b=TVNGhQE8d2NdjR8fTPkjQ2FkusDsenAQNLmLPNJYlHGjhPsr5sWPT53izaev9rW/4s + d2ouguPXLNxxbJqSANQmQS9/3Bn+zYPAshFaPF0OPiXG/8Mi9L9sa3pd+yn4REhH68/F + foGChJziIcRIeHin1aNY0e7EHlF6Yn5FNR2tzFV2BhWHk3nVcBIrxWS/SaQc2ZFzqsjj + h6letni8Ulfvxh12RT5KP0ZhXdc5vtClxgqBkDr8dlKbG55wFHSn4+9n2otEhHB1JW7A + 8fleZS2sVs7fx45i822TN2KzKvFL3VqcwE5tOGso+eYHUu8cb7npZSi51NjDKfx0R9Jh + wcOw== +X-Received: by 10.68.110.65 with SMTP id hy1mr14210289pbb.67.1400175624444; + Thu, 15 May 2014 10:40:24 -0700 (PDT) +Received: from localhost ([2620:0:1000:2e00:69cd:3af5:6fe9:9efd]) + by mx.google.com with ESMTPSA id + ec2sm10146230pbc.63.2014.05.15.10.40.22 for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Thu, 15 May 2014 10:40:22 -0700 (PDT) +From: Wael Nasreddine +To: David Edmondson , notmuch@notmuchmail.org +Subject: Re: [PATCH v2] Enable Travis-CI as a backup continuous + integration service. +In-Reply-To: +References: <1400108004-26955-1-git-send-email-wael.nasreddine@gmail.com> + <1400108004-26955-2-git-send-email-wael.nasreddine@gmail.com> + +User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Thu, 15 May 2014 10:40:06 -0700 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/mixed; boundary="=-=-=" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 15 May 2014 17:40:33 -0000 + +--=-=-= +Content-Type: text/plain + +David Edmondson writes: + +> On Wed, May 14 2014, Wael M. Nasreddine wrote: +>> You can access the dashboard at https://travis-ci.org/notmuch/notmuch +>> --- +>> .travis.yml | 12 ++++++++++++ +>> 1 file changed, 12 insertions(+) +>> create mode 100644 .travis.yml +>> +>> diff --git a/.travis.yml b/.travis.yml +>> new file mode 100644 +>> index 0000000..e8c3011 +>> --- /dev/null +>> +++ b/.travis.yml +>> @@ -0,0 +1,12 @@ +>> +language: c +>> +before_install: +>> + - sudo apt-get update -qq +>> + - wget 'https://launchpad.net/ubuntu/+archive/primary/+files/zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb' +>> + - wget 'https://launchpad.net/ubuntu/+archive/primary/+files/zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb' +>> + - sudo dpkg -i zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb +>> zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb +> +> Wael, I don't know much at all about travis (I gather that it's some +> sort of continuous integration test tool), but grabbing very specific +> zlib packages from a place on the 'net and then installing them seems +> fragile. +> + +It is fragile, but unfortunately there's no way (As far as I know) +around this problem. Travis-CI is currently running Ubuntu Precise +(12.04) and they have plans to update to Trusty[0] but it's going to take +them some time. + +> - What happens when those are no longer the right version numbers? +I can host the files in a Github repository if that would work better? I +am not very concerned about security in this case because Travis runs in +an isolated disposable VM created for the build and destroyed afterwards. + +> - What happens when those versions are already provided by the standard +> repository? + +When #2046[0] is fixed by the Travis-CI team, our travis.yml will be +updated to work accordingly. + +> - What happens when newer versions are provided by the standard +> repository? + +Same as above. Once they run trusty, this hack will go away. + +> - What happens if travis runs start happening on (say) an arm64 machine? +> + +Travis is currently running amd64[1] and I don't think they have plans +to change that, in fact I heard that they have plans to support more +architectures configurable in .travis.yml + +> I realise that you might answer "I will keep this up to date", but we +> have to worry about what happens if you lose interest and wander away. +> + +Absolutely, I understand your point and no one can guarantee +maintainer-ship. I can modify my patch and add documentation (comments +in the yaml file) about what each flag does, where can you documentation +about it and of course details about the hack. Would that be helpful? + +> What is required to get the updated (as I presume that is what they are) +> versions of zlib into the normal package repositories? Is it possible to +> specify that travis should use the equivalent of Debian testing or +> experimental repositories? + +Your build runs in a disposable VM, we have root access so we can do +about anything on the box, however you should keep in mind that they +kill builds after certain amount of time (considered as timeout)[2] + +> +>> + - sudo apt-get install -f +>> + - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx +>> + +>> +script: make test +>> +notifications: +>> + irc: "chat.freenode.net#notmuch" +>> -- +>> 1.9.1.423.g4596e3a +>> +>> _______________________________________________ +>> notmuch mailing list +>> notmuch@notmuchmail.org +>> http://notmuchmail.org/mailman/listinfo/notmuch + +--=-=-= +Content-Type: multipart/signed; boundary="==-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" + +--==-=-= +Content-Type: text/plain + + +[0]: https://github.com/travis-ci/travis-ci/issues/2046 +[1]: http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS +[2]: http://docs.travis-ci.com/user/build-configuration/#sts=Build Timeouts +-- +Wael Nasreddine | SRE at Google | wael.nasreddine@gmail.com | (650) 735-1773 + +--==-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iEYEARECAAYFAlN0+/cACgkQVWU5RcjdGKImOQCgxW6V+EXBG6tLZLbS4TqxkQ/q +JaMAn3B0LipaZjfB2qGf/PYCsYNrBid1 +=fWmI +-----END PGP SIGNATURE----- +--==-=-=-- + +--=-=-=-- -- 2.26.2