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
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: cache:
paths: paths:
- .tox - .tox
- .cache/pip
stages: stages:
- test - test
- publish - publish
before_script: before_script:
- apt-get update -yqq - python --version ; pip --version # For debugging
&& apt-get install -yqq --no-install-recommends - pip install virtualenv
make - virtualenv venv
g++ - source venv/bin/activate
&& apt-get autoremove -yqq --purge
&& apt-get clean test:
unittests:
stage: test
script: script:
- pip install tox==4.12 - pip install tox # you can also use tox
- tox -p -e python3.8 - 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: pypi_publish:
before_script: before_script:
......
[tox] [tox]
envlist = python3.8 envlist = py
skipsdist = True
[testenv] [testenv]
deps = pytest 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