diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b6f4db1c6f41966341d69e1cdcee85736fa5ba5..42b4f0a62d6b4f0ad4e071851faa9f72462e7c3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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