Skip to content
Snippets Groups Projects
Commit 433764f5 authored by Denis Arrivault's avatar Denis Arrivault
Browse files

Reorganisation of .gitlab-ci.yml with templates

parent f81dd0d6
No related branches found
No related tags found
No related merge requests found
Pipeline #
# CI Config for ltaftpy / gitlab
#On X86_64 ubuntu
unbutu:X86_64:
image: registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ubuntu:X86_64
tags:
- docker
# nosetests template
.nose: &nose
script:
- pip3 install -e .
- nosetests3
artifacts:
paths:
- build
expire_in: 8d
# doc template
.doc: &doc
- pip3 install -e .
- python3 setup.py build_sphinx
- cp -r build/sphinx/html public
artifacts:
artifacts:
paths:
- public
- build
#On i686 ubuntu
# Tests on X86_64 ubuntu
unbutu:X86_64:
<<: *nose
image: registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ubuntu:X86_64
tags:
- docker
# Tests on i686 ubuntu
ubuntu:i686:
<<: *nose
image: registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ubuntu:i686
tags:
- docker
script:
- pip3 install -e .
- nosetests3
artifacts:
paths:
- build
\ No newline at end of file
# Doc Generation
pages:
<<: *doc
image: registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ubuntu:X86_64
tags:
- docker
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment