Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
ltfatpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dev
ltfatpy
Commits
5f1ae620
Commit
5f1ae620
authored
10 months ago
by
Valentin Emiya
Browse files
Options
Downloads
Patches
Plain Diff
update ci.yml
parent
3ee0c8c3
No related branches found
No related tags found
1 merge request
!2
3.7 to 3.10 compatibility
Pipeline
#14331
failed
10 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+69
-21
69 additions, 21 deletions
.gitlab-ci.yml
with
69 additions
and
21 deletions
.gitlab-ci.yml
+
69
−
21
View file @
5f1ae620
# CI Config for ltaftpy / gitlab
# CI Config for ltaftpy / gitlab
# Tests on X86_64 ubuntu
default
:
ubuntu:X86_64
:
cache
:
# Pip's cache doesn't store the python packages
image
:
registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
paths
:
# https://pip.pypa.io/en/stable/topics/caching/
tags
:
-
.cache/pip
-
docker
before_script
:
script
:
-
apt-get update
-
pip3 install -e . --no-deps
-
apt-get install -y --no-install-recommends cmake
-
py.test-3
-
apt-get install -y --no-install-recommends gcc
artifacts
:
-
apt-get install -y --no-install-recommends g++
when
:
always
-
apt-get install -y --no-install-recommends make
untracked
:
true
-
apt-get install -y --no-install-recommends libfftw3-dev
paths
:
-
apt-get install -y --no-install-recommends liblapack-dev
-
build
-
apt-get install -y --no-install-recommends python3
expire_in
:
8d
-
apt-get install -y --no-install-recommends python3-dev
-
apt-get install -y --no-install-recommends python3-setuptools
-
apt-get install -y --no-install-recommends python3-pytest
-
apt-get install -y --no-install-recommends python3-pytest-cov
-
apt-get install -y --no-install-recommends python3-coverage
-
apt-get install -y --no-install-recommends libjs-jquery-hotkeys
-
apt-get install -y --no-install-recommends libjs-jquery-isonscreen
-
apt-get install -y --no-install-recommends libjs-jquery-tablesorter
-
apt-get install -y --no-install-recommends python3-pip
-
apt-get install -y --no-install-recommends python3-wheel
-
apt-get install -y --no-install-recommends python3-tk
-
apt-get install -y --no-install-recommends python3-matplotlib
-
apt-get install -y --no-install-recommends python3-scipy
-
apt-get install -y --no-install-recommends texlive-latex-extra
-
apt-get install -y --no-install-recommends dvipng
-
apt-get clean
-
pip install virtualenv
-
virtualenv venv
-
source venv/bin/activate
# Tests on i686 ubuntu
install_and_test_39
:
ubuntu:i686
:
image
:
python:3.9
image
:
registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:i686
tags
:
-
docker
script
:
script
:
-
dpkg -L python3-pytest | xargs file | grep executable
-
pip3 install -e . --no-deps
-
pip3 install -e . --no-deps
-
py
.
test
-3
-
py
thon3 -m py
test
artifacts
:
artifacts
:
when
:
always
when
:
always
untracked
:
true
untracked
:
true
...
@@ -30,9 +46,40 @@ ubuntu:i686:
...
@@ -30,9 +46,40 @@ ubuntu:i686:
-
build
-
build
expire_in
:
8d
expire_in
:
8d
# # Tests on X86_64 ubuntu
# ubuntu:X86_64:
# image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
# tags:
# - docker
# script:
# - pip3 install -e . --no-deps
# - py.test-3
# artifacts:
# when: always
# untracked: true
# paths:
# - build
# expire_in: 8d
# # Tests on i686 ubuntu
# ubuntu:i686:
# image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:i686
# tags:
# - docker
# script:
# - pip3 install -e . --no-deps
# - py.test-3
# artifacts:
# when: always
# untracked: true
# paths:
# - build
# expire_in: 8d
# doc template
# doc template
.doc
:
&doc
.doc
:
&doc
script
:
script
:
-
pip3 install setuptools sphinx
-
pip3 install -e . --no-deps
-
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
...
@@ -43,7 +90,8 @@ ubuntu:i686:
...
@@ -43,7 +90,8 @@ ubuntu:i686:
# Doc Generation
# Doc Generation
pages
:
pages
:
<<
:
*doc
<<
:
*doc
image
:
registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
# image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
image
:
python:3.9
tags
:
tags
:
-
docker
-
docker
only
:
only
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment