Skip to content
Snippets Groups Projects
Commit 5326ab09 authored by Florent Jaillet's avatar Florent Jaillet
Browse files

Improving continuous integration configuration

parent b38be7e3
No related branches found
No related tags found
No related merge requests found
Pipeline #
# CI Config for ltaftpy / gitlab # CI Config for ltaftpy / gitlab
# Tests on X86_64 ubuntu # Tests on X86_64 ubuntu
unbutu:X86_64: ubuntu:X86_64:
image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64 image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
tags: tags:
- docker - docker
script: script:
- pip install -e . - pip install -e . --no-deps
- nosetests - nosetests3
artifacts: artifacts:
when: always when: always
untracked: true untracked: true
...@@ -21,7 +21,7 @@ ubuntu:i686: ...@@ -21,7 +21,7 @@ ubuntu:i686:
tags: tags:
- docker - docker
script: script:
- pip install -e . - pip install -e . --no-deps
- nosetests3 - nosetests3
artifacts: artifacts:
when: always when: always
...@@ -33,7 +33,7 @@ ubuntu:i686: ...@@ -33,7 +33,7 @@ ubuntu:i686:
# doc template # doc template
.doc: &doc .doc: &doc
script: script:
- pip3 install -e . - pip3 install -e . --no-deps
- python3 setup.py build_sphinx - python3 setup.py build_sphinx
- cp -r build/sphinx/html public - cp -r build/sphinx/html public
artifacts: artifacts:
......
FROM ubuntu:latest FROM ubuntu:latest
MAINTAINER Denis Arrivault MAINTAINER Denis Arrivault
WORKDIR / WORKDIR /
RUN apt-get update && apt-get install -y \ RUN apt-get update && \
cmake \ apt-get install -y --no-install-recommends \
libfftw3-dev \ cmake \
liblapack-dev \ gcc \
python3 \ g++ \
python3-dev \ make \
python3-pip \ libfftw3-dev \
python3-tk \ liblapack-dev \
python3-matplotlib \ python3 \
python3-scipy \ python3-dev \
texlive-latex-recommended \ python3-setuptools \
texlive-latex-extra \ python3-nose \
dvipng python3-coverage \
RUN pip3 install --upgrade pip libjs-jquery-hotkeys \
RUN pip3 install nose coverage pytest pytest-cov sphinx sphinxcontrib-bibtex libjs-jquery-isonscreen \
libjs-jquery-tablesorter \
python3-pip \
python3-wheel \
python3-tk \
python3-matplotlib \
python3-scipy \
texlive-latex-extra \
dvipng \
&& \
apt-get clean
RUN pip3 install sphinx sphinxcontrib-bibtex
# Copy the ltfatpy sdist in the docker directory and uncomment the following line # Copy the ltfatpy sdist in the docker directory and uncomment the following line
# if you want to include ltfatpy sources in the docker image : # if you want to include ltfatpy sources in the docker image :
# ADD ../dist/ltfatpy-1.0.8.tar.gz / # ADD ../dist/ltfatpy-1.0.8.tar.gz /
# cleanup
RUN apt-get -qy autoremove
\ No newline at end of file
FROM ubuntu:latest FROM ubuntu:latest
MAINTAINER Denis Arrivault MAINTAINER Denis Arrivault
WORKDIR / WORKDIR /
RUN apt-get update && apt-get install -y \ RUN apt-get update && \
cmake \ apt-get install -y --no-install-recommends \
libfftw3-dev \ cmake \
liblapack-dev \ gcc \
python3 \ g++ \
python3-dev \ make \
python3-pip \ libfftw3-dev \
cython \ liblapack-dev \
python3-tk \ cython3 \
python3-matplotlib python3 \
RUN pip3 install --upgrade pip python3-dev \
RUN pip3 install scipy nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex python3-setuptools \
python3-nose \
python3-coverage \
libjs-jquery-hotkeys \
libjs-jquery-isonscreen \
libjs-jquery-tablesorter \
python3-pip \
python3-wheel \
python3-tk \
python3-matplotlib \
python3-scipy \
texlive-latex-extra \
dvipng \
&& \
apt-get clean
RUN pip3 install sphinx sphinxcontrib-bibtex
# Copy the ltfatpy sdist in the docker directory and uncomment the following line # Copy the ltfatpy sdist in the docker directory and uncomment the following line
# if you want to include ltfatpy sources in the docker image : # if you want to include ltfatpy sources in the docker image :
# ADD ltfatpy-1.0.8.tar.gz / # ADD ../dist/ltfatpy-1.0.8.tar.gz /
# cleanup
RUN apt-get -qy autoremove
\ No newline at end of file
FROM i386/ubuntu:latest FROM i386/ubuntu:latest
MAINTAINER Denis Arrivault MAINTAINER Denis Arrivault
WORKDIR / WORKDIR /
RUN apt-get update && apt-get install -y \ RUN apt-get update && \
cmake \ apt-get install -y --no-install-recommends \
libfftw3-dev \ cmake \
liblapack-dev \ gcc \
python3 \ g++ \
python3-dev \ make \
python3-pip \ libfftw3-dev \
python3-tk \ liblapack-dev \
python3-matplotlib \ python3 \
python3-scipy python3-dev \
RUN pip3 install --upgrade pip python3-setuptools \
RUN pip3 install nose coverage pytest pytest-cov python3-nose \
python3-coverage \
libjs-jquery-hotkeys \
libjs-jquery-isonscreen \
libjs-jquery-tablesorter \
python3-pip \
python3-tk \
python3-matplotlib \
python3-scipy \
&& \
apt-get clean
# Copy the ltfatpy sdist in the docker directory and uncomment the following line # Copy the ltfatpy sdist in the docker directory and uncomment the following line
# if you want to include ltfatpy sources in the docker image : # if you want to include ltfatpy sources in the docker image :
# ADD ../dist/ltfatpy-1.0.8.tar.gz / # ADD ../dist/ltfatpy-1.0.8.tar.gz /
# cleanup
RUN apt-get -qy autoremove
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment