Commit 24370489 authored by Thomas Vincent's avatar Thomas Vincent

change images

parent 9164687c
image: debian:8
stages:
- build
- test
......@@ -8,6 +6,7 @@ stages:
# Target definitions
.build_template: &build_definition
stage: build
image: ${IMAGE}
before_script:
- rm -rf ${VENV_DIR}
- virtualenv --python=${PYTHON} ${VENV_DIR}
......@@ -33,6 +32,7 @@ stages:
.test_template: &test_definition
stage: test
image: ${IMAGE}
before_script:
- rm -rf ${VENV_DIR}
- virtualenv --python=${PYTHON} ${VENV_DIR}
......@@ -54,6 +54,7 @@ stages:
# Python2 tasks
.python2_variables:
variables: &python2_definition
IMAGE: python:2.7-jessie
PYTHON: python2
VENV_DIR: py2env
......@@ -71,6 +72,7 @@ test_python2:
# Python3 tasks
.python3_variables:
variables: &python3_definition
IMAGE: python:3.4-jessie
PYTHON: python3
VENV_DIR: py3env
......@@ -88,6 +90,7 @@ test_python3:
# Deploy documentation in gitlab (only for master branch)
pages:
stage: deploy
image: python:3.4-jessie
dependencies:
- build_python3
script:
......
Markdown is supported
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