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

update ci.yml

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