diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a602f6109858070adb946271cfc5e1551b91b20d..50b398cbe5ffe511884d0c277ca0bc50d34c96ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,11 +2,15 @@ stages: - build test_app: - image: python:latest + image: python:3.6 stage: build + before_script: - python -V - - pip install --upgrade pip + - scl enable rh-python36 bash + - pip install virtualenv + - virtualenv env + - source env/bin/activate script: - pip install Flask - python hello.py