# This is the control file for Travis continuous integration system.
#
# It is used automatically for the repositories on Github if it's found in the
# root directory of the project.
language: cpp
sudo: required

addons:
  apt:
    packages:
        - libwxgtk3.0-dev
        - libboost-system-dev
        - fakeroot
        - debhelper
        - cdbs
        - libgtk2.0-dev
        - libboost-dev
        - libhunspell-dev

notifications:
    irc:
        channels:
            - chat.freenode.net#codeblocks
        template:
            - "%{repository_name}/%{branch} (%{commit} - %{author}): %{build_url} : %{message}"

before_script: ./bootstrap && ./debian/setup_control.sh detect
script: dpkg-buildpackage -us -uc
