language: cpp

compiler:
  - gcc
  - clang

env:
  - KDL_CODYCO_BUILD_TYPE=Debug
  - KDL_CODYCO_BUILD_TYPE=Release

before_script:
  - sudo apt-get install -qq libeigen3-dev 
  - git clone https://github.com/orocos/orocos_kinematics_dynamics
  - cd orocos_kinematics_dynamics/orocos_kdl
  - mkdir build 
  - cd build
  - cmake ../
  - make
  - sudo make install
  - cd ../../..
  - mkdir build
  - cd build
  - cmake -DCREATE_TESTS:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="-Wall" -DCMAKE_BUILD_TYPE=${KDL_CODYCO_BUILD_TYPE} ./..

script: make && make test

language: cpp

compiler:
  - gcc
  - clang

env:
  - KDL_CODYCO_BUILD_TYPE=Debug
  - KDL_CODYCO_BUILD_TYPE=Release

before_script:
  - sudo apt-get install -qq libeigen3-dev 
  - git clone https://github.com/orocos/orocos_kinematics_dynamics
  - cd orocos_kinematics_dynamics/orocos_kdl
  - mkdir build 
  - cd build  
  - mkdir local_install
  - cmake -DCMAKE_INSTALL_PREFIX="./local_install" ../
  - make
  - make install
  - cd ../../..
  - mkdir build
  - cd build
  - cmake -DCREATE_TESTS:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="-Wall" -DCMAKE_BUILD_TYPE=${KDL_CODYCO_BUILD_TYPE} ./..

script: make && make test

Install orocos kdl in a local dependecy
Install orocos kdl in a local dependecy