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/feature/CELIX-230_Refactoring_of_the_shell_command_service Commit: 331417b2ad84fd2f16e49eac9073c15e89d29af3 Parents: b5b0e72 Author: Pepijn Noltes <[email protected]> Authored: Wed Oct 14 10:07:24 2015 +0200 Committer: Pepijn Noltes <[email protected]> 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:
