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

Uses the registry images

parent 9637f639
No related branches found
No related tags found
No related merge requests found
Pipeline #
# CI Config for ltaftpy / gitlab
stages:
- build
# - test
- doc
# Global runner/docker image definition
image: ubuntu:latest
# Global caching
cache:
key: "cache"
paths:
# apt
- apt-cache
# build
- build
before_script:
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
- apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake libfftw3-dev liblapack-dev
- apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y python3.5 python3.5-dev python3-pip python3-tk
- apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y python3-matplotlib
- pip3 install --upgrade pip
- pip3 install scipy nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex
- pip3 list
# Main build
build:
stage: build
#On X86_64 ubuntu
unbutu:X86_64:
image: registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ubuntu:X86_64
tags:
- docker
script:
- pip3 install -e .
- nosetests
- python3 setup.py build_sphinx
- cp -r build/sphinx/html public
artifacts:
paths:
- public
- build
# Tests
#test:
# stage: test
# tags:
# - docker
# script:
# - pip3 install -e .
# - nosetests
# artifacts:
# when: always
# untracked: true
# paths:
# - build/
# expire_in: 8d
# Doc generation
pages:
stage: doc
#On i686 ubuntu
ubuntu:i686:
image: registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ubuntu:i686
tags:
- docker
script:
- pip3 install -e .
- python3 setup.py build_sphinx
- cp -r build/sphinx/html public
- nosetests
artifacts:
paths:
- public
- build
\ 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