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
13612c8f
Commit
13612c8f
authored
8 months ago
by
Valentin Emiya
Browse files
Options
Downloads
Patches
Plain Diff
ci.yml: mv lines to before_script section
parent
49708449
No related branches found
No related tags found
No related merge requests found
Pipeline
#14354
failed
8 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+21
-83
21 additions, 83 deletions
.gitlab-ci.yml
with
21 additions
and
83 deletions
.gitlab-ci.yml
+
21
−
83
View file @
13612c8f
...
@@ -4,19 +4,10 @@ default:
...
@@ -4,19 +4,10 @@ default:
cache
:
# Pip's cache doesn't store the python packages
cache
:
# Pip's cache doesn't store the python packages
paths
:
# https://pip.pypa.io/en/stable/topics/caching/
paths
:
# https://pip.pypa.io/en/stable/topics/caching/
-
.cache/pip
-
.cache/pip
before_script
:
-
vendor/
-
.apt/
stages
:
before_script
:
-
test
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
install_and_test_39
:
image
:
python:3.9
stage
:
test
script
:
-
apt-get update
-
apt-get update
-
apt-get install -y --no-install-recommends cmake
-
apt-get install -y --no-install-recommends cmake
-
apt-get install -y --no-install-recommends gcc
-
apt-get install -y --no-install-recommends gcc
...
@@ -24,22 +15,17 @@ install_and_test_39:
...
@@ -24,22 +15,17 @@ install_and_test_39:
-
apt-get install -y --no-install-recommends make
-
apt-get install -y --no-install-recommends make
-
apt-get install -y --no-install-recommends libfftw3-dev
-
apt-get install -y --no-install-recommends libfftw3-dev
-
apt-get install -y --no-install-recommends liblapack-dev
-
apt-get install -y --no-install-recommends liblapack-dev
-
apt-get install -y --no-install-recommends python3
-
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-hotkeys
-
apt-get install -y --no-install-recommends libjs-jquery-isonscreen
-
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 libjs-jquery-tablesorter
-
apt-get install -y --no-install-recommends texlive-latex-extra
-
apt-get install -y --no-install-recommends dvipng
-
apt-get install -y --no-install-recommends python3
-
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-pip
-
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-wheel
-
apt-get install -y --no-install-recommends python3-tk
-
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
-
apt-get clean
-
pip install virtualenv
-
pip install virtualenv
-
virtualenv venv
-
virtualenv venv
...
@@ -47,6 +33,18 @@ install_and_test_39:
...
@@ -47,6 +33,18 @@ install_and_test_39:
-
pip install --upgrade pip
-
pip install --upgrade pip
-
pip install matplotlib numpy scipy six coverage pytest pytest-cov
-
pip install matplotlib numpy scipy six coverage pytest pytest-cov
-
dpkg -L python3-pytest | xargs file | grep executable
-
dpkg -L python3-pytest | xargs file | grep executable
stages
:
-
test
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
install_and_test_39
:
image
:
python:3.9
stage
:
test
script
:
-
pip3 install -e . --no-deps
-
pip3 install -e . --no-deps
-
python3 -m pytest
-
python3 -m pytest
artifacts
:
artifacts
:
...
@@ -60,36 +58,6 @@ install_and_test_310:
...
@@ -60,36 +58,6 @@ install_and_test_310:
image
:
python:3.10
image
:
python:3.10
stage
:
test
stage
:
test
script
:
script
:
-
apt-get update
-
apt-get install -y --no-install-recommends cmake
-
apt-get install -y --no-install-recommends gcc
-
apt-get install -y --no-install-recommends g++
-
apt-get install -y --no-install-recommends make
-
apt-get install -y --no-install-recommends libfftw3-dev
-
apt-get install -y --no-install-recommends liblapack-dev
-
apt-get install -y --no-install-recommends python3
-
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
-
pip install --upgrade pip
-
pip install matplotlib numpy scipy six coverage pytest pytest-cov
-
dpkg -L python3-pytest | xargs file | grep executable
-
pip3 install -e . --no-deps
-
pip3 install -e . --no-deps
-
python3 -m pytest
-
python3 -m pytest
artifacts
:
artifacts
:
...
@@ -103,36 +71,6 @@ install_and_test_311:
...
@@ -103,36 +71,6 @@ install_and_test_311:
image
:
python:3.11
image
:
python:3.11
stage
:
test
stage
:
test
script
:
script
:
-
apt-get update
-
apt-get install -y --no-install-recommends cmake
-
apt-get install -y --no-install-recommends gcc
-
apt-get install -y --no-install-recommends g++
-
apt-get install -y --no-install-recommends make
-
apt-get install -y --no-install-recommends libfftw3-dev
-
apt-get install -y --no-install-recommends liblapack-dev
-
apt-get install -y --no-install-recommends python3
-
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
-
pip install --upgrade pip
-
pip install matplotlib numpy scipy six coverage pytest pytest-cov
-
dpkg -L python3-pytest | xargs file | grep executable
-
pip3 install -e . --no-deps
-
pip3 install -e . --no-deps
-
python3 -m pytest
-
python3 -m pytest
artifacts
:
artifacts
:
...
@@ -167,7 +105,7 @@ ubuntu:i686:
...
@@ -167,7 +105,7 @@ ubuntu:i686:
script
:
script
:
-
conda create -n py39 Python=3.9
-
conda create -n py39 Python=3.9
-
conda activate py39
-
conda activate py39
-
pip3 install -e . --no-deps
-
pip3 install -e . --no-deps
git
-
python3 -m pytest
-
python3 -m pytest
artifacts
:
artifacts
:
when
:
always
when
:
always
...
...
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