[PATCH v4] Enable Travis-CI as a backup continuous integration service.

Wael M. Nasreddine wael.nasreddine at gmail.com
Mon Jun 2 14:27:52 PDT 2014


---
 .travis.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..05659dd
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,32 @@
+language: c
+before_install:
+  # Install dependencies
+  - sudo apt-get update -qq
+  - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx
+
+  # Install EVM and the version of emacs to be used.
+  - sudo mkdir /usr/local/evm
+  - sudo chown travis:travis /usr/local/evm
+  - curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
+  - export PATH="/home/travis/.evm/bin:$PATH"
+  - evm install $EVM_EMACS --use
+
+  # Notmuch requires zlib 1.2.5.2, unfortunately travis runs on Ubuntu 12.04LTS which
+  # ships with zlib 1.2.3.3. We need to update to zlib 1.2.5.2 to be able to build.
+  # TODO: Watch https://github.com/travis-ci/travis-ci/issues/2046 and remove
+  #       this hack once travis-ci switches to Ubuntu 14.04
+  - wget 'https://github.com/notmuch/travis-files/raw/master/zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb'
+  - wget 'https://github.com/notmuch/travis-files/raw/master/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
+
+env:
+  - EVM_EMACS=emacs-23.4-bin
+  - EVM_EMACS=emacs-24.3-bin
+
+script:
+  - ./configure
+  - make test
+
+notifications:
+  irc: "chat.freenode.net#notmuch"
\ No newline at end of file
-- 
1.9.1.423.g4596e3a



More information about the notmuch mailing list