Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
soth
Commits
ba91de51
Unverified
Commit
ba91de51
authored
Jul 13, 2018
by
Guilhem Saurel
Committed by
GitHub
Jul 13, 2018
Browse files
Merge pull request #13 from nim65s/master
[CI] add .gitlab-ci.yml
parents
b1ef9db2
032246f4
Pipeline
#1233
passed with stage
in 3 minutes and 52 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
ba91de51
variables
:
GIT_SUBMODULE_STRATEGY
:
"
recursive"
GIT_DEPTH
:
"
3"
CCACHE_BASEDIR
:
"
${CI_PROJECT_DIR}"
CCACHE_DIR
:
"
${CI_PROJECT_DIR}/ccache"
cache
:
paths
:
-
ccache
.robotpkg-soth
:
&robotpkg-soth
except
:
-
gh-pages
script
:
-
mkdir -p ccache
-
cd /root/robotpkg/wip/soth
-
git pull
-
make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
-
make install
-
cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
-
make test
robotpkg-soth-14.04-release
:
<<
:
*robotpkg-soth
image
:
eur0c.laas.fr:5000/stack-of-tasks/soth/soth:14.04
robotpkg-soth-16.04-release
:
<<
:
*robotpkg-soth
image
:
eur0c.laas.fr:5000/stack-of-tasks/soth/soth:16.04
doc-coverage
:
<<
:
*robotpkg-soth
image
:
eur0c.laas.fr:5000/stack-of-tasks/soth/soth: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/soth
-
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/
README.md
View file @
ba91de51
soth
====
[

](https://travis-ci.org/stack-of-tasks/soth)
[

](https://coveralls.io/r/stack-of-tasks/soth?branch=master)
[

](https://travis-ci.org/stack-of-tasks/soth)
[

](https://gepgitlab.laas.fr/stack-of-tasks/soth/commits/master)
[

](http://projects.laas.fr/stack-of-tasks/doc/stack-of-tasks/soth/master/coverage/)
Setup
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment