Skip to content
Snippets Groups Projects
Commit ad29ab35 authored by Valentin Emiya's avatar Valentin Emiya
Browse files

update ci.yml

parent f29599ab
Branches
No related tags found
1 merge request!23.7 to 3.10 compatibility
Pipeline #14339 failed
......@@ -33,7 +33,7 @@ default:
- virtualenv venv
- source venv/bin/activate
- pip install --upgrade pip
- pip install matplotlib numpy scipy six nose coverage pytest pytest-cov
- pip install matplotlib numpy scipy six coverage pytest pytest-cov
stages:
- test
......@@ -48,7 +48,6 @@ install_and_test_39:
script:
- dpkg -L python3-pytest | xargs file | grep executable
- pip3 install -e . --no-deps
# - py.test-3
- python3 -m pytest
artifacts:
when: always
......@@ -57,20 +56,23 @@ install_and_test_39:
- build
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 X86_64 ubuntu
ubuntu:X86_64:
image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64
tags:
- docker
script:
- conda create -n py39 Python=3.9
- conda activate py39
- pip3 install -e . --no-deps
- python3 -m pytest
# - py.test-3
artifacts:
when: always
untracked: true
paths:
- build
expire_in: 8d
# # Tests on i686 ubuntu
# ubuntu:i686:
......@@ -91,6 +93,7 @@ install_and_test_39:
.doc: &doc
script:
- pip3 install setuptools sphinx
- pip install matplotlib numpy scipy six coverage pytest pytest-cov
- pip3 install -e . --no-deps
- python3 setup.py build_sphinx
- cp -r build/sphinx/html public
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment