forked from orocos/orocos_kinematics_dynamics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (38 loc) · 1008 Bytes
/
.travis.yml
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