Commit be0a740d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CI] add .gitlab-ci.yml & badges

parent f5bc5a19
variables:
GIT_SUBMODULE_STRATEGY: "recursive"
GIT_DEPTH: "3"
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
cache:
paths:
- ccache
.robotpkg-sot-dynamic-pinocchio-v3: &robotpkg-sot-dynamic-pinocchio-v3
except:
- gh-pages
script:
- mkdir -p ccache
- cd /root/robotpkg/wip/sot-dynamic-pinocchio-v3
- git pull
- make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
- make install
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
- make test
robotpkg-sot-dynamic-pinocchio-v3-14.04-release:
<<: *robotpkg-sot-dynamic-pinocchio-v3
image: eur0c.laas.fr:5000/stack-of-tasks/sot-dynamic-pinocchio/sot-dynamic-pinocchio-v3:14.04
robotpkg-sot-dynamic-pinocchio-v3-16.04-release:
<<: *robotpkg-sot-dynamic-pinocchio-v3
image: eur0c.laas.fr:5000/stack-of-tasks/sot-dynamic-pinocchio/sot-dynamic-pinocchio-v3:16.04
robotpkg-sot-dynamic-pinocchio-v3-18.04-release:
<<: *robotpkg-sot-dynamic-pinocchio-v3
image: eur0c.laas.fr:5000/stack-of-tasks/sot-dynamic-pinocchio/sot-dynamic-pinocchio-v3:18.04
doc-coverage:
<<: *robotpkg-sot-dynamic-pinocchio-v3
image: eur0c.laas.fr:5000/stack-of-tasks/sot-dynamic-pinocchio/sot-dynamic-pinocchio-v3:16.04
before_script:
- echo -e 'CXXFLAGS+= --coverage\nLDFLAGS+= --coverage\nPKG_DEFAULT_OPTIONS= debug' >> /opt/openrobots/etc/robotpkg.conf
after_script:
- cd /root/robotpkg/wip/sot-dynamic-pinocchio-v3
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
- make doc
- mv doc/doxygen-html ${CI_PROJECT_DIR}
- mkdir -p ${CI_PROJECT_DIR}/coverage/
- gcovr -r .
- gcovr -r . --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
artifacts:
expire_in: 1 day
paths:
- doxygen-html/
- coverage/
......@@ -2,8 +2,10 @@ sot-dynamic-pinocchio
Encapsulate Pinocchio in SoT
===========
[![Build Status](https://travis-ci.org/stack-of-tasks/sot-dynamic-pinocchio.png?branch=master)](https://travis-ci.org/stack-of-tasks/sot-dynamic-pinocchio)
[![Coverage Status](https://coveralls.io/repos/stack-of-tasks/sot-dynamic-pinocchio/badge.png)](https://coveralls.io/r/stack-of-tasks/sot-dynamic-pinocchio)
[![Building Status](https://travis-ci.org/stack-of-tasks/sot-dynamic-pinocchio.svg?branch=master)](https://travis-ci.org/stack-of-tasks/sot-dynamic-pinocchio)
[![Pipeline status](https://gepgitlab.laas.fr/stack-of-tasks/sot-dynamic-pinocchio/badges/master/pipeline.svg)](https://gepgitlab.laas.fr/stack-of-tasks/sot-dynamic-pinocchio/commits/master)
[![Coverage report](https://gepgitlab.laas.fr/stack-of-tasks/sot-dynamic-pinocchio/badges/master/coverage.svg?job=doc-coverage)](http://projects.laas.fr/gepetto/doc/stack-of-tasks/sot-dynamic-pinocchio/master/coverage/)
This software provides robot dynamic computation for dynamic-graph
by using pinocchio.
......@@ -41,4 +43,3 @@ have to be available on your machine.
[dynamic-graph]: http://github.com/stack-of-tasks/dynamic-graph
[pinocchio]: http://github.com/stack-of-tasks/pinocchio
[sot-core]: http://github.com/stack-of-tasks/sot-core
>>>>>>> devel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment