-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
110 lines (89 loc) · 4.03 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
101
102
103
104
105
106
107
108
109
110
sudo: required
dist: bionic
language: cpp
osx_image: xcode11.3
os:
- linux
- osx
compiler:
- gcc
- clang
branches:
only:
- master
env:
global:
- GITHUB_REPO: "robotology/icub-client"
- secure: "bIKEliPhu2bxuwBxs1WkvHnpN0pf//1PlCQ/AiQBCEGeUeOo8rHUIv0hKAf2TYxDm+mGUjJS3mpY4JZaQeAXdIZOdORKnqZyuUCGTFzgpnjJl2RiydgmQBMLuFwroPXq6kWZ4DyXmEdddddjb2dDKPYA9g0BD2PoTxZbuha2dbLgV5arGM/wk8aUGGftzp+6Np3b+2R+didtbJQbNofg2fIrBxC9njBcVrzjIZAMBnSGXhxF0eF1C9Q0Ynsep6maeHwHf7hyXL58lGXgUWBeUhHfyPVFtWKqa0Aqb4+qhYcGUkUtFH/zYVrcr/rTmDbyFOX/9Ym5gLO0bmFltWgokdWE0kZ1vrv41XIFLbd7AoGSXpbsVqxH3xoFxuGAsAd4/SYdj1hlIrLQzz33OWU/7gdkMLzPCjjsQ8Ij8at//ZK8nst7vkvmco6ecZWmeXCLJgYhf5mqVGO4Zai1UbM5U0nLSSqVVzxNIr/6VEmILblA6NlTrI3pgIVgmGIKSLB4RxCNutGL7DDHeKgcb9G5Gs8tH58IP8fvbPEi5/KKa51M4TQJpveG76XIMS+wyapDL3QwfPxxBZPmpRwhHd8uCI2Xoimm5U9OSA1HNHOHtmKzldhN8wrLe/9TYw26H9GgCMoPximY2Rm4GcAlOCVNahSuZvdsD5l7MdGWJoKN3iI=" # <-- from travis-encrypt
install:
# Ubuntu dependencies
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo sh -c 'echo "deb http://www.icub.org/ubuntu bionic 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 sudo pip2 install doxypypy; fi
# OS X dependencies
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ls -al; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./brew-helper-travis update; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./brew-helper-travis install ace gsl ipopt opencv@3; fi
# - if [ "$TRAVIS_OS_NAME" = "osx" ]; then rm '/usr/local/bin/f2py'; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew link --force opencv@3; fi
# - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export PATH="$PATH:/usr/local/opt/qt/bin"; fi
- cd ..
- pwd
- git clone --depth 1 https://github.com/robotology/ycm.git
- cd ycm
- export YCM_ROOT=$(pwd)
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- sudo make install
- cd ../../
- git clone --depth 1 https://github.com/robotology/yarp.git
- cd yarp
- export YARP_ROOT=$(pwd)
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DCREATE_GUIS:BOOL=ON -DCREATE_LIB_MATH:BOOL=ON -DCREATE_OPTIONAL_CARRIERS:BOOL=ON -DENABLE_yarpcar_bayer_carrier:BOOL=ON ..
- sudo make install
- cd ../../
- git clone --depth 1 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 --depth 1 https://github.com/robotology/icub-contrib-common.git
- cd icub-contrib-common
- mkdir build
- cd build
- cmake ..
- sudo make install
- cd ../../
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then git clone --depth 1 https://github.com/robotology/kinect-wrapper.git; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd kinect-wrapper; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then mkdir build; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd build; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cmake -DCMAKE_BUILD_TYPE=Release ..; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo make install; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then cd ../../; fi
- cd icub-hri
before_script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release -DICUBCLIENT_BUILD_IOL2OPC=FALSE ..
script:
- make
after_success:
- cd ../
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$TRAVIS_PULL_REQUEST" = "false" -a "$TRAVIS_BRANCH" = "master" -a "$CXX" = "g++" ]; then bash ./doxygen/deploy-to-gh-pages.sh; fi
notifications:
email:
- ugo.pattacini@iit.it
- jordiysard@gmail.com
- t.fischer@imperial.ac.uk
- clement.moulinfrier@gmail.com
- dcamilleri1@sheffield.ac.uk
- Phuong.Nguyen@iit.it