Skip to content
Snippets Groups Projects
Commit c8056810 authored by Malte Nyhuis's avatar Malte Nyhuis
Browse files

Update .gitlab-ci.yml file

parent 67e50c12
No related branches found
No related tags found
No related merge requests found
Pipeline #6942 failed
......@@ -5,31 +5,17 @@
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
image: python:3.9
image: continuumio/miniconda3:latest
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/topics/caching/
#
# If you want to also cache the installed packages, you have to install
# them in a virtualenv and cache it as well.
cache:
paths:
- .cache/pip
- venv/
before_script:
- conda env create -n ntrfc python=3.9
- conda activate ntrfc
- python -m pip install --upgrade pip
- python --version # For debugging
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- apt install libgl1-mesa-glx
stages: # List of stages for jobs, and their order of execution
- build
......
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