File: .travis.yml

package info (click to toggle)
orocos-kdl 1.4.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,840 kB
  • sloc: cpp: 14,478; python: 380; xml: 87; makefile: 69; sh: 20
file content (41 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: cpp

compiler:
  - gcc
  - clang
env:
  - OROCOS_KDL_BUILD_TYPE=Debug
  - OROCOS_KDL_BUILD_TYPE=Release

before_script:
  - sudo apt-get -qq update
  - sudo apt-get install -y libeigen3-dev libcppunit-dev python-sip-dev
  #build orocos_kdl
  - cd orocos_kdl
  - mkdir build
  - cd build
  - cmake -DENABLE_TESTS:BOOL=ON -DCMAKE_CXX_FLAGS:STRING="-Wall" -DCMAKE_BUILD_TYPE=${OROCOS_KDL_BUILD_TYPE} ./..
  # compile and install orocos_kdl
  - make
  - sudo make install
  - cd ../..
  #build python bindings
  - cd python_orocos_kdl
  - mkdir build
  - cd build
  - cmake -DCMAKE_CXX_FLAGS:STRING="-Wall" -DCMAKE_BUILD_TYPE=${OROCOS_KDL_BUILD_TYPE} ./..
  #compile and install python bindings
  - make
  - sudo make install
  - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
  - sudo ldconfig
  - cd ../..

script:
  #execute orocos_kdl tests
  - cd orocos_kdl/build
  - make check
  - cd ../..
  #execute python bindings tests
  - cd python_orocos_kdl/build
  - python ../tests/PyKDLtest.py