]> git.notmuchmail.org Git - notmuch/blob - .travis.yml
.travis.yml: Add gdb and gpgsm dependencies
[notmuch] / .travis.yml
1 language: c
2 before_install:
3   - sudo apt-get update -qq
4   - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx gdb gpgsm
5
6   # Notmuch requires zlib 1.2.5.2, unfortunately travis runs on Ubuntu 12.04LTS which
7   # ships with zlib 1.2.3.3. We need to update to zlib 1.2.5.2 to be able to build.
8   # TODO: Watch https://github.com/travis-ci/travis-ci/issues/2046 and remove
9   #       this hack once travis-ci switches to Ubuntu 14.04
10   - wget 'https://github.com/notmuch/travis-files/raw/master/zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb'
11   - wget 'https://github.com/notmuch/travis-files/raw/master/zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb'
12   - sudo dpkg -i zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb
13   - sudo apt-get install -f
14
15 script:
16   - ./configure
17   - make download-test-databases
18   - make test
19
20 notifications:
21   irc:
22     channels:
23       - "chat.freenode.net#notmuch"
24     on_success: change