Add Travis CI configuration
This commit is contained in:
parent
298ae829f5
commit
7c8154eb53
|
@ -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
|
Loading…
Reference in New Issue