Skip to content
Snippets Groups Projects
Commit 5868fe17 authored by Maja Jablonska's avatar Maja Jablonska
Browse files

Change docker image to python:latest

parent 36fcdaf1
Branches
Tags
No related merge requests found
Pipeline #16326 failed with stages
in 31 seconds
image: clarinpl/python:3.8
image: python:latest
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .tox
- .cache/pip
stages:
- test
- publish
before_script:
- apt-get update -yqq
&& apt-get install -yqq --no-install-recommends
make
g++
&& apt-get autoremove -yqq --purge
&& apt-get clean
unittests:
stage: test
- python --version ; pip --version # For debugging
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
test:
script:
- pip install tox==4.12
- tox -p -e python3.8
- pip install tox # you can also use tox
- pip install --editable ".[test]"
- tox -e py
#before_script:
# - apt-get update -yqq
# && apt-get install -yqq --no-install-recommends
# make
# g++
# && apt-get autoremove -yqq --purge
# && apt-get clean
#
#unittests:
# stage: test
# script:
# - pip install tox==4.12
# - tox -p -e python3.9
pypi_publish:
before_script:
......
[tox]
envlist = python3.8
skipsdist = True
envlist = py
[testenv]
deps = pytest
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment