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