You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2015/10/14 10:08:05 UTC

celix git commit: CELIX-237: Updated travis to compile and install latest libffi

Repository: celix
Updated Branches:
  refs/heads/develop b5b0e7286 -> 331417b2a


CELIX-237: Updated travis to compile and install latest libffi


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/331417b2
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/331417b2
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/331417b2

Branch: refs/heads/develop
Commit: 331417b2ad84fd2f16e49eac9073c15e89d29af3
Parents: b5b0e72
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Wed Oct 14 10:07:24 2015 +0200
Committer: Pepijn Noltes <pe...@gmail.com>
Committed: Wed Oct 14 10:07:24 2015 +0200

----------------------------------------------------------------------
 .travis.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/331417b2/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index fc886bc..8911bc7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@ language: c
 
 before_install:
   - sudo apt-get update -qq
-  - sudo apt-get install -y uuid-dev libjansson-dev libxml2-dev lcov libffi-dev pkg-config
+  - sudo apt-get install -y uuid-dev libjansson-dev libxml2-dev lcov pkg-config
 
 matrix:
   include:
@@ -18,6 +18,11 @@ before_script:
     - cmake -DJANSSON_BUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr . && make
     - sudo make install
     - cd -
+    - wget ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz -O /tmp/libffi.tar.gz
+    - tar xzf /tmp/libffi.tar.gz 
+    - cd libffi*
+    - ./configure --prefix=/usr && make && sudo make install 
+    - cd -
     - mkdir build install
 
 script: