Add Travis CI configuration

This commit is contained in:
Přemysl Eric Janouch 2015-02-08 05:59:05 +01:00
parent 61f7536e22
commit de133622a2
1 changed files with 21 additions and 0 deletions

21
.travis.yml Normal file
View File

@ -0,0 +1,21 @@
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 libgtk-3-dev liblua5.2-dev libjson-glib-dev
before_script:
- mkdir build
- cd build
script:
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
- make
- cpack -G DEB
- ctest