aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Wael M. Nasreddine <wael.nasreddine@gmail.com>2014-05-23 10:51:48 -0700
committerGravatar David Bremner <david@tethera.net>2014-07-16 06:33:45 -0300
commitde37f21e5b158625cb7714c51696aaaa8bbbd8b6 (patch)
treeb2f407dc9767c4de27ad62721a99d5b99fea7a73 /.travis.yml
parentebb58751dc0f20da3176a53d41d196e4c5de12e0 (diff)
Enable Travis-CI as a backup continuous integration service.
You can access the dashboard at https://travis-ci.org/notmuch/notmuch
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..dff57a71
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,19 @@
+language: c
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx
+
+ # 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
+
+script:
+ - ./configure
+ - make test
+notifications:
+ irc: "chat.freenode.net#notmuch"