[PATCH] Add Travis-CI config file.
Wael M. Nasreddine
wael.nasreddine at gmail.com
Fri May 9 08:44:06 PDT 2014
On Fri, May 9, 2014 at 8:16 AM, Tomi Ollila <tomi.ollila at iki.fi> wrote:
> On Fri, May 09 2014, "Wael M. Nasreddine" <wael.nasreddine at gmail.com> wrote:
>
>> ---
>
> Could this work so, that there is separate repo whete .travis.yml resides
> and notmuch is there as a git submodule ?
>
> To my eyes this approach looks pretty intrusive: the repository root
> directory is polluted with specific .travis.yml file and the content is
> (apparently) specific to https://travis-ci.org/ (some version of ubuntu)
>
Unfortunately no, Travis expects it to be there. The other alternative
would be for me to maintain a repo (under my user on Github) with the
appropriate file but it seems extreme considering that this patch only
adds one file that has no chance of conflicting with other patches.
> That said, I won't be against the inclusion of this in case there are users
> that like it (provided that a patch with proper commit message(*) is available).
>
Did I not use a proper message?
> Tomi
>
> (*) http://notmuchmail.org/contributing/
>
>> .travis.yml | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>> create mode 100644 .travis.yml
>>
>> diff --git a/.travis.yml b/.travis.yml
>> new file mode 100644
>> index 0000000..8d92cdc
>> --- /dev/null
>> +++ b/.travis.yml
>> @@ -0,0 +1,10 @@
>> +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
>> + - sudo apt-get install -f
>> + - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx
>> +
>> +script: make test
>> --
>> 1.9.1.423.g4596e3a
--
Wael Nasreddine | Software Engineer | wael.nasreddine at gmail.com | (650) 735-1773
More information about the notmuch
mailing list