Newer
Older
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
33
34
35
36
37
38
# run the test suite
tests:
image: registry.gitlab.lis-lab.fr:5005/dev/multimodal/ubuntu:18.04
tags:
- docker
script:
- python3 setup.py install
- pytest-3
# generate the documentation
doc:
image: registry.gitlab.lis-lab.fr:5005/dev/multimodal/ubuntu:18.04
tags:
- docker
only:
- master
script:
- export LC_ALL=$(locale -a | grep en_US)
- export LANG=$(locale -a | grep en_US)
- python3 setup.py build_sphinx
# TODO: Replace the task doc by the following task pages when making the
# project public
#
#pages:
# image: registry.gitlab.lis-lab.fr:5005/dev/multimodal/ubuntu:18.04
# tags:
# - docker
# only:
# - master
# script:
# - export LC_ALL=$(locale -a | grep en_US)
# - export LANG=$(locale -a | grep en_US)
# - python3 setup.py build_sphinx
# - cp -r build/sphinx/html public
# artifacts:
# paths:
# - public