forked from frankaemika/franka_ros
-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
30 lines (27 loc) · 810 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
sudo: required
language: none
services:
- docker
before_script:
- mkdir -p ~/workspace/catkin_ws/src
- |
cd ~/workspace
git clone https://github.com/frankaemika/libfranka.git
cd libfranka
git checkout ${TRAVIS_PULL_REQUEST_BRANCH:-${TRAVIS_BRANCH}} || git checkout develop
git submodule update --init --recursive
- |
cd ~/workspace
docker build -t worker $TRAVIS_BUILD_DIR/.ci
ln -sf $TRAVIS_BUILD_DIR catkin_ws/src/franka_ros
script:
- docker run
-v $TRAVIS_BUILD_DIR:$TRAVIS_BUILD_DIR
-v ~/workspace:/workspace
worker /bin/sh -c '
cd /workspace/libfranka &&
.ci/libonly.sh &&
export CMAKE_PREFIX_PATH="/workspace/libfranka/build-libonly:$CMAKE_PREFIX_PATH" &&
cd /workspace/catkin_ws &&
src/franka_ros/.ci/debug.sh
'