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
No related merge requests found
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
# - py.test-3 - conda activate py39
# artifacts: - pip3 install -e . --no-deps
# when: always - python3 -m pytest
# untracked: true # - py.test-3
# paths: artifacts:
# - build when: always
# expire_in: 8d untracked: true
paths:
- build
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.
Finish editing this message first!
Please register or to comment