summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-08 05:44:02 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-08 05:44:02 +0100
commit14046db38d9fe4db0c424311b0e4aa352512555e (patch)
tree84f11aaacc17b1fee4a579bd39a59c045fa42640
parentd8ecd402c9fffe7555d339d500f7525f5703ef58 (diff)
downloadponymap-14046db38d9fe4db0c424311b0e4aa352512555e.tar.gz
ponymap-14046db38d9fe4db0c424311b0e4aa352512555e.tar.xz
ponymap-14046db38d9fe4db0c424311b0e4aa352512555e.zip
Add Travis CI configuration
-rw-r--r--.travis.yml20
-rw-r--r--README2
2 files changed, 21 insertions, 1 deletions
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: