Skip to content
Snippets Groups Projects
Commit d8f6c8d5 authored by schmittu's avatar schmittu :beer:
Browse files

attempt to fix ci

parent 1f977632
No related branches found
No related tags found
No related merge requests found
Pipeline #1501 failed
......@@ -14,13 +14,28 @@ windows_tests:
- windows
script:
- set "CI_TMP=%temp%\%time::=.%.emzed.tmp"
- tox -r -e py37-ci
- if (Test-Path venv) { Remove-Item venv -Recurse; }
- python -m venv venv
- venv/Scripts/python -m pip install -U pip setuptools
- venv/Scripts/pip install --extra-index-url https://pypi-sissource.ethz.ch/simple emzed3
- venv/Scripts/pip install -e .
- venv/Scripts/pip install -r requirements_dev.txt
- sleep ${SLEEP:-0}
- venv/Scripts/python -c 'import emzed_ext_mzmine2 as e; e.init()'
- venv/Scripts/pytest tests
linux_tests:
stage: test_code
image: sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_16_10_for_emzed
tags:
- docker-executor
script:
- pyenv local $(latest_python 3.7)
- CI_TMP=$(mktemp -d) tox -r -e py37-ci
- pip install --extra-index-url https://pypi-sissource.ethz.ch/simple emzed3
- pip install -e .
- pip install -r requirements_dev.txt
- sleep ${SLEEP:-0}
- python3 -c 'import emzed_ext_mzmine2 as e; e.init()'
- pytest tests
artifacts:
paths:
- htmlcov/
......
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