Skip to content

Commit

Permalink
ci: python update
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Jul 7, 2018
1 parent c31ea93 commit 76d8dd6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
@@ -1,4 +1,4 @@
image: registry.gitlab.gnome.org/gnome/pygobject/main:v6
image: registry.gitlab.gnome.org/gnome/pygobject/main:v7

stages:
- build_and_test
Expand Down Expand Up @@ -34,7 +34,7 @@ coverage:
paths:
- coverage/
variables:
PYENV_VERSION: "3.6.5"
PYENV_VERSION: "3.6.6"
script:
- bash -x ./.gitlab-ci/coverage-docker.sh

Expand Down Expand Up @@ -91,12 +91,12 @@ python3.5:

python3.6:
variables:
PYENV_VERSION: "3.6.5"
PYENV_VERSION: "3.6.6"
<<: *defaults

python3.7:
variables:
PYENV_VERSION: "3.7.0b3"
PYENV_VERSION: "3.7.0"
<<: *defaults

pypy2:
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci/Dockerfile
Expand Up @@ -41,8 +41,8 @@ RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/p

RUN pyenv install 2.7.15
RUN pyenv install 3.5.5
RUN pyenv install 3.6.5
RUN pyenv install 3.7.0b3
RUN pyenv install 3.6.6
RUN pyenv install 3.7.0
RUN pyenv install pypy2.7-6.0.0
RUN pyenv install pypy3.5-6.0.0

Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci/run-docker.sh
Expand Up @@ -2,10 +2,10 @@

set -e

TAG="registry.gitlab.gnome.org/gnome/pygobject/main:v6"
TAG="registry.gitlab.gnome.org/gnome/pygobject/main:v7"

sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
--file "Dockerfile" .
sudo docker run -e PYENV_VERSION='3.6.5' --rm --security-opt label=disable \
sudo docker run -e PYENV_VERSION='3.6.6' --rm --security-opt label=disable \
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "${TAG}" bash

0 comments on commit 76d8dd6

Please sign in to comment.