-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.gitlab-ci.yml
32 lines (28 loc) · 932 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
# temporary manual configuration, until everything is packaged.
# We need pinocchio and example-robot-data, as do crocoddyl, so we can use its image
# We care only about python 3, so we test only on 20.04
.pinocchio-tutorials: &pinocchio-tutorials
retry:
max: 2
when: runner_system_failure
except:
- gh-pages
script:
- python -m unittest
pinocchio-tutorials-20.04:
<<: *pinocchio-tutorials
image: memmos.laas.fr:5000/stack-of-tasks/pinocchio-tutorials/py-pinocchio-tutorials:20.04
format:
image: gepetto/linters
retry:
max: 2
when: runner_system_failure
before_script:
- test -f /builds/setup.cfg || ln -s /root/setup.cfg /builds
- test -f /builds/.clang-format || ln -s /root/.clang-format /builds
script:
- flake8 utils examples tp2
- nbqa flake8 2_geometry_3d.ipynb
- yapf -dr utils examples tp2
- nbqa yapf -ri 2_geometry_3d.ipynb
- git diff --exit-code