[PATCH] Add Travis-CI config file.

Tomi Ollila tomi.ollila at iki.fi
Fri May 9 08:16:23 PDT 2014


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)

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).

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


More information about the notmuch mailing list