Add Travis CI configuration

This commit is contained in:
Přemysl Eric Janouch 2015-02-08 05:44:02 +01:00
parent d8ecd402c9
commit 14046db38d
2 changed files with 21 additions and 1 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
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 libjansson-dev libncursesw5-dev
before_script:
- mkdir build
- cd build
script:
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LUA=OFF
- make
- cpack -G DEB

2
README
View File

@ -25,7 +25,7 @@ Build dependencies: CMake, pkg-config, help2man, curses, openssl, Jansson,
$ git submodule update
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_LUA=NO
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DWITH_LUA=NO
$ make
To install the application, you can do either the usual: