X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=.travis.yml;h=802efd98c30d2eeef2963ad210368a62091b5e5a;hp=5be8fb156661cd40cfb429a079c92e30e6041f22;hb=29648a137c5807135ab168917b4a51d5e19e51c2;hpb=2268eeb90d9603fe4b74e15240117857cbbac2f5 diff --git a/.travis.yml b/.travis.yml index 5be8fb15..802efd98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,18 @@ language: c -before_install: - - sudo apt-get update -qq - - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev python-sphinx gdb gpgsm - # 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 +dist: trusty +sudo: false + +addons: + apt: + packages: + - dtach + - libxapian-dev + - libgmime-2.6-dev + - libtalloc-dev + - python-sphinx + - gdb + - gpgsm script: - ./configure