language: c

dist: trusty
sudo: false

addons:
  apt:
    packages:
    - dtach
    - libxapian-dev
    - libgmime-2.6-dev
    - libtalloc-dev
    - python-sphinx
    - gdb
    - gpgsm

script:
  - ./configure
  - make download-test-databases
  - make test

notifications:
  irc:
    channels:
      - "chat.freenode.net#notmuch"
    on_success: change
