forked from robotology/gazebo-yarp-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (24 loc) · 827 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
language: cpp
compiler:
- gcc
- clang
env:
- GAZEBO_YARP_PLUGINS_BUILD_TYPE=Debug
- GAZEBO_YARP_PLUGINS_BUILD_TYPE=Release
before_script:
- sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu precise main" > /etc/apt/sources.list.d/gazebo-latest.list'
- wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
- sudo apt-get update
- sudo apt-get --force-yes install libtinyxml-dev gazebo libboost-system-dev libace-dev
- git clone https://github.com/robotology/yarp
- cd yarp
- mkdir build
- cd build
- cmake -DCREATE_SHARED_LIBRARY:BOOL=ON -DCMAKE_BUILD_TYPE=${GAZEBO_YARP_PLUGINS_BUILD_TYPE} ..
- make
- sudo make install
- cd ../..
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=${GAZEBO_YARP_PLUGINS_BUILD_TYPE} ./..
script: make