-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
100 lines (81 loc) · 2.65 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
sudo: required
dist: trusty
language: cpp
compiler:
- gcc
branches:
only:
- master
- feature/adapt-to-yarpOpenPose
- feature/add-avoidance-module
install:
# Ubuntu dependencies
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo sh -c 'echo "deb http://www.icub.org/ubuntu trusty contrib/science" > /etc/apt/sources.list.d/icub.list'; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 57A5ACB6110576A6; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get --quiet --yes update; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get --quiet --yes install icub-common libeigen3-dev; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get --quiet --yes install doxygen xsltproc graphviz; fi
#- if [ "$TRAVIS_OS_NAME" = "linux" ]; then pip2 install doxypypy; fi
- cd ..
- pwd
- git clone https://github.com/robotology/yarp.git
- cd yarp
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DCREATE_LIB_MATH=TRUE ..
- sudo make install
- cd ../../
- git clone https://github.com/robotology/icub-main.git
- cd icub-main
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- sudo make install
- cd ../../
- git clone https://github.com/robotology/icub-contrib-common.git
- cd icub-contrib-common
- mkdir build
- cd build
- cmake ..
- sudo make install
- cd ../../
- git clone https://github.com/robotology/kinect-wrapper.git
- cd kinect-wrapper
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- sudo make install
- cd ../../
- git clone https://github.com/robotology/icub-hri.git
- cd icub-hri
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- sudo make install
- cd ../../
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install build-essential curl git unzip autoconf autogen libtool mlocate zlib1g-dev python python3-numpy python3-dev python3-pip python3-wheel; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo updatedb; fi
# cmake 3.4 for tensorflow_cc
- wget http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz
- tar -xvzf cmake-3.4.1.tar.gz
- cd cmake-3.4.1/
- ./configure
- sudo make install
- update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
- git clone https://github.com/FloopCZ/tensorflow_cc
- cd tensorflow_cc/tensorflow_cc
- mkdir build && cd build
- cmake -DTENSORFLOW_STATIC=OFF -DTENSORFLOW_SHARED=ON ..
- sudo make install
- cd ../../
- cd skeleton3D
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make
notifications:
email:
- phuong.nguyen@iit.it
- ph17dn@gmail.com