From 14046db38d9fe4db0c424311b0e4aa352512555e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 8 Feb 2015 05:44:02 +0100 Subject: Add Travis CI configuration --- .travis.yml | 20 ++++++++++++++++++++ README | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7edad82 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/README b/README index 725dbe5..678b77e 100644 --- a/README +++ b/README @@ -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: -- cgit v1.2.3