forked from MRPT/mrpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
51 lines (47 loc) · 1.64 KB
/
shippable.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
language: c
env:
global:
- CCACHE_SLOPPINESS=pch_defines,time_macros
matrix:
include:
- compiler: gcc
env: TASK="build"
- compiler: gcc
env: TASK="test"
- compiler: gcc
env: TASK="build" DEPS="headless"
- compiler: gcc
env: TASK="test" DEPS="headless"
- compiler: gcc
env: TASK="build" DEPS="minimal"
- compiler: gcc
env: TASK="test" DEPS="minimal"
- compiler: clang
env: TASK="build"
- compiler: clang
env: TASK="test"
build:
pre_ci_boot:
image_name: drydock/u16cppall
image_tag: v5.6.1
ci:
- sudo add-apt-repository -y ppa:jolting/backport-mrpt
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install -y build-essential pkg-config cmake
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$DEPS" != "minimal" ]; then
sudo apt-get install libftdi-dev zlib1g-dev libusb-1.0-0-dev libdc1394-22-dev -y ;
sudo apt-get install libjpeg-dev libopencv-dev libgtest-dev libeigen3-dev -y ;
sudo apt-get install libsuitesparse-dev libpcl-all libopenni2-dev libudev-dev -y ;
sudo apt-get install libboost-python-dev libpython-dev python-numpy -y ;
if [ "$DEPS" != "headless" ]; then
sudo apt-get install libwxgtk3.0-dev -y ;
sudo apt-get install freeglut3-dev -y ;
sudo apt-get install libavformat-dev libswscale-dev -y ;
sudo apt-get install libassimp-dev -y ;
sudo apt-get install qtbase5-dev libqt5opengl5-dev -y ;
fi
fi
- bash travis/travis_main.sh
#after_success:
# - if [ "$BUILD_TYPE" == "Coverage" ]; then bash scripts/coveralls_submit.sh ; fi