Skip to content

Commit 21c6aaf

Browse files
author
Guilhem Saurel
authored
Merge pull request #15 from nim65s/devel
[CI] add .gitlab-ci.yml & badges
2 parents 6cdcde3 + 4ec36db commit 21c6aaf

File tree

4 files changed

+60
-2
lines changed

4 files changed

+60
-2
lines changed

.gitlab-ci.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
variables:
2+
GIT_SUBMODULE_STRATEGY: "recursive"
3+
GIT_DEPTH: "3"
4+
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
5+
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
6+
7+
cache:
8+
paths:
9+
- ccache
10+
11+
.robotpkg-tsid: &robotpkg-tsid
12+
except:
13+
- gh-pages
14+
script:
15+
- mkdir -p ccache
16+
- cd /root/robotpkg/wip/tsid
17+
- git pull
18+
- make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
19+
- make install
20+
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
21+
- make test
22+
23+
robotpkg-tsid-14.04-release:
24+
<<: *robotpkg-tsid
25+
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:14.04
26+
27+
robotpkg-tsid-16.04-release:
28+
<<: *robotpkg-tsid
29+
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:16.04
30+
31+
robotpkg-tsid-18.04-release:
32+
<<: *robotpkg-tsid
33+
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:18.04
34+
35+
doc-coverage:
36+
<<: *robotpkg-tsid
37+
image: eur0c.laas.fr:5000/stack-of-tasks/tsid/tsid:16.04
38+
before_script:
39+
- echo -e 'CXXFLAGS+= --coverage\nLDFLAGS+= --coverage\nPKG_DEFAULT_OPTIONS= debug' >> /opt/openrobots/etc/robotpkg.conf
40+
after_script:
41+
- cd /root/robotpkg/wip/tsid
42+
- cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
43+
- make doc
44+
- mv doc/doxygen-html ${CI_PROJECT_DIR}
45+
- mkdir -p ${CI_PROJECT_DIR}/coverage/
46+
- gcovr -r .
47+
- gcovr -r . --html --html-details -o ${CI_PROJECT_DIR}/coverage/index.html
48+
artifacts:
49+
expire_in: 1 day
50+
paths:
51+
- doxygen-html/
52+
- coverage/
53+

.travis

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# TSID - Task Space Inverse Dynamics
2+
3+
[![Building Status](https://travis-ci.org/stack-of-tasks/tsid.svg?branch=master)](https://travis-ci.org/stack-of-tasks/tsid)
4+
[![Pipeline status](https://gepgitlab.laas.fr/stack-of-tasks/tsid/badges/master/pipeline.svg)](https://gepgitlab.laas.fr/stack-of-tasks/tsid/commits/master)
5+
[![Coverage report](https://gepgitlab.laas.fr/stack-of-tasks/tsid/badges/master/coverage.svg?job=doc-coverage)](http://projects.laas.fr/gepetto/doc/stack-of-tasks/tsid/master/coverage/)
6+
27
TSID is C++ library for optimization-based inverse-dynamics control based on the rigid multi-body dynamics library [Pinocchio](https://github.com/stack-of-tasks/pinocchio).
38
Take a look at the project [wiki](https://github.com/stack-of-tasks/tsid/wiki) for more details.
49

0 commit comments

Comments
 (0)