language: c
sudo: required
compiler:
  - gcc
install:
  provisioning/provision-travis.sh
script:
  - ./configure
  - make > /dev/null 2>&1
  - Xvfb :99 >/dev/null 2>&1 &
  - export DISPLAY=:99
  - ./configure --enable-tests --with-tb-path=$(which thunderbird)
  - make
  - ./build.sh
  - ./test.sh
after_failure:
  - cat test_output.log
