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

Corrects dockerfiles

parent 66e17df6
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -65,6 +65,10 @@ ltfatpy.egg-info/ ...@@ -65,6 +65,10 @@ ltfatpy.egg-info/
.project .project
.pydevproject .pydevproject
# PyCharm #
###########
.idea
# Ipython files # # Ipython files #
################# #################
...@@ -89,3 +93,4 @@ LtfatPyt.egg-info/ ...@@ -89,3 +93,4 @@ LtfatPyt.egg-info/
.cache/ .cache/
dist/ dist/
MANIFEST MANIFEST
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
stages: stages:
- build - build
- test - test
- dist
# Global runner/docker image definition # Global runner/docker image definition
image: ubuntu:latest image: ubuntu:latest
...@@ -30,29 +29,16 @@ build: ...@@ -30,29 +29,16 @@ build:
tags: tags:
- docker - docker
script: script:
- python3 setup.py install - pip3 install -e .
# Tests # Tests
test: test:
stage: test stage: test
tags: tags:
- docker - docker
dependencies:
- build
script: script:
- python3 setup.py test
artifacts:
when: always
untracked: true
paths:
- build/
expire_in: 8d
# Installation and test with pip
dist:
stage: dist
tags:
- docker
script:
- pip3 install -e .
- nosetests - nosetests
artifacts: artifacts:
when: always when: always
...@@ -60,3 +46,4 @@ dist: ...@@ -60,3 +46,4 @@ dist:
paths: paths:
- build/ - build/
expire_in: 8d expire_in: 8d
...@@ -10,9 +10,6 @@ RUN apt-get update && apt-get install -y \ ...@@ -10,9 +10,6 @@ RUN apt-get update && apt-get install -y \
python3-pip \ python3-pip \
python3-tk python3-tk
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
RUN pip3 install scipy matplotlib nose coverage Sphinx sphinxcontrib-bibtex RUN pip3 install scipy matplotlib nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex
ADD ltfatpy-1.0.8.tar.gz / # cleanup
#RUN pip3 install -e ltfatpy-1.0.8/ RUN apt-get -qy autoremove
#WORKDIR ltfatpy-1.0.8 \ No newline at end of file
#RUN nosetests
#RUN python3 setup.py build_sphinx
FROM debian:jessie FROM ubuntu:latest
MAINTAINER Denis Arrivault MAINTAINER Denis Arrivault
WORKDIR / WORKDIR /
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
cmake \ cmake \
libfftw3-dev \ libfftw3-dev \
liblapack-dev \ liblapack-dev \
python \ python3 \
python-pip \ python3-dev \
python3-pip \
cython \ cython \
python-matplotlib \ python3-tk
gfortran RUN pip3 install --upgrade pip
RUN pip install scipy coverage RUN pip3 install scipy matplotlib nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex
ADD ltfatpy-1.0.0.tar.gz / # cleanup
RUN pip install ltfatpy-1.0.0/ RUN apt-get -qy autoremove
\ No newline at end of file \ No newline at end of file
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