-
Notifications
You must be signed in to change notification settings - Fork 32
/
.gitlab-ci.yml
54 lines (49 loc) · 911 Bytes
/
.gitlab-ci.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
# pick a docker image
# image: ubuntu:14.04
# image: ros:kinetic-perception
image: ubuntu:16.04
stages:
- build
- test
# just build don't run the tests
build:
stage: build
before_script:
- apt-get update
- apt-get install -y git build-essential cmake qt5-default libopencv-dev libyaml-cpp-dev libboost-all-dev
- git submodule update --init
- mkdir build
- cd build
script:
- cmake ..
- make -j4
tags:
- docker
except:
- tags
artifacts:
paths:
- ./
test:
stage: test
before_script:
- apt-get update
- apt-get install -y cmake libopencv-dev libyaml-cpp-dev libboost-all-dev
script:
- cd build
- ctest -VV
tags:
- docker
except:
- tags
# documentation:
# stage: build
# before_script:
# - apt-get update
# - apt-get install -y doxygen graphviz
# script:
# - cd doc
# - doxygen *.conf
# artifacts:
# paths:
# - doc/html