I'm trying to use gitlab CI for the first time. I just want to test (not to deploy) a Python program on it. I don't know why but it failed on pip, which is not found...
Here is the error message of gitlab :
Skipping Git submodules setup
$ pip install -r requirements.txt
/bin/bash: line 71: pip: command not found
ERROR: Job failed: exit code 1
And here my .gitlab-ci.yaml:
stages:
- build
- test
myJob:
stage: build
image: python:3.6
script:
- apt-get update -q -y
- apt-get install -y python-pip
- python -V
- echo "hello world"
- pip install -r requirements.txt
myJob2:
stage: test
script:
- python test.py
Neither the hello world nor the Python version is printed. So I probably made a basic mistake, but which one?