Files
domo-iot/.drone.yml
NADAL Jean-Baptiste 3f0973a9f5
All checks were successful
continuous-integration/drone/push Build is passing
Add codecoverage
2020-01-06 19:03:51 +01:00

40 lines
965 B
YAML

kind: pipeline
type: docker
name: default
clone:
disable: true
steps:
- name: fetch
image: registry.nadal-fr.com/buildroot_dev
commands:
- git clone ssh://git@git.nadal-fr.com:222/domo/domo-iot.git
- git clone ssh://git@git.nadal-fr.com:222/domo/qlibc.git
- git clone ssh://git@git.nadal-fr.com:222/domo/libevent.git
- git clone ssh://git@git.nadal-fr.com:222/domo/nats.c.git
- git clone ssh://git@git.nadal-fr.com:222/domo/json-c.git
- patch -d nats.c -p1 < domo-iot/patches/nats.c.patch
- name: build
image: registry.nadal-fr.com/buildroot_dev
commands:
- mkdir -p domo-iot/build
- cd domo-iot/build && cmake .. -DDOMO_BUILD_TEST=ON
- make
- name: test
image: registry.nadal-fr.com/buildroot_dev
commands:
- cd domo-iot/build
- ./bin/test_device
- name: codecov
image: registry.nadal-fr.com/buildroot_dev
commands:
- cd domo-iot/build
- gcovr -v --object-directory=. -r ..
image_pull_secrets:
- dockerconfigjson