From fbdc68c3b69cba6c407ee5d17891154f7598eb7c Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sat, 8 Feb 2020 15:53:06 -0800 Subject: [PATCH] ci: Update docker image to python 3.7, use generic python3 The python3 version in docker image may not be the same in the qemu test runner VM image, so a more generic 'python3' is used when creating the venv. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 159b06b1..1b0ae96d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ --- # Author: Clayton Craft -image: python:3.6-slim-stretch +image: python:3.7-slim-stretch cache: paths: @@ -10,7 +10,7 @@ cache: before_script: - ./.gitlab/setup-pmos-environment.sh # venv created in CI_PROJECT_DIR for caching - - "[[ ! -d venv ]] && virtualenv venv -p $(which python3.6)" + - "[[ ! -d venv ]] && virtualenv venv -p $(which python3)" - "source venv/bin/activate" - "pip3 install pytest-cov python-coveralls pytest" - "python3 --version"