Add Travis CI configuration

This commit is contained in:
Přemysl Eric Janouch 2015-02-08 04:48:47 +01:00
parent 298ae829f5
commit 7c8154eb53
1 changed files with 22 additions and 0 deletions

22
.travis.yml Normal file
View File

@ -0,0 +1,22 @@
language: c
notifications:
irc:
channels: "anathema.us.nu#anathema"
use_notice: true
skip_join: true
compiler:
- clang
- gcc
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get install -y xsltproc zlib1g-dev libncursesw5-dev
- sudo apt-get install -y libgtk-3-dev libpango1.0-dev
before_script:
- mkdir build
- cd build
script:
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GTK=ON -DBUILD_TESTING=ON
- make
- cpack -G DEB
- ctest