language: python

python:
  - 2.7

before_install:
  - sudo wget https://launchpad.net/~ubuntu-bugs-auftrags-killer/+archive/ubuntu/muelli/+files/zint_2.4.1ubuntu1_amd64.deb
  - sudo dpkg -i zint_2.4.1ubuntu1_amd64.deb

install:
  - mkdir -p buildout-cache/{eggs,downloads}
  - python bootstrap.py -c travis.cfg
  - bin/buildout -c travis.cfg -Nqt 5

script:
  - bin/test

after_success:
  - bin/coverage run bin/test
  - pip install -q coveralls==0.5
  - coveralls

notifications:
  email:
    recipients:
      - devs@imio.be
    on_success: change
    on_failure: change
  irc:
    channels:
      - "irc.freenode.org#imio"
    on_success: change
    on_failure: always
