about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-02-23 03:17:25 +0000
committerJames Booth <boothj5@gmail.com>2014-02-23 03:17:25 +0000
commitc9a45d4d9de065ecafaaf35684c5449453b1e572 (patch)
tree82d97d74e9852a90aeb7f3a16091d009cb84b955
parent9489c4f0fa1faf01d0c8d0479dc8cb23270ee168 (diff)
downloadprofani-tty-c9a45d4d9de065ecafaaf35684c5449453b1e572.tar.gz
Added cmocka to travis build
-rw-r--r--.travis.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 4aa96d14..3765ce98 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,5 +11,15 @@ install:
     - sudo make install
     - cd ..
     - rm -rf libstrophe
+    - wget https://open.cryptomilk.org/attachments/download/34/cmocka-0.3.2.tar.xz
+    - tar -xvf cmocka-0.3.2.tar.xz
+    - cd cmocka-0.3.2
+    - mkdir build
+    - cd build
+    - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
+    - make
+    - sudo make install
+    - cd ../..
+    - rm -rf cmocka-0.3.2
     - ./bootstrap.sh
 script: ./configure && make && make check