Skip to content
Snippets Groups Projects
Commit cc15fbe2 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

Update .gitlab-ci.yml file

parent 5fcdd6da
No related branches found
No related tags found
No related merge requests found
......@@ -28,17 +28,18 @@ cache:
build-job:
stage: build
script:
- echo "Installing environment..."
- apt-get -y update
- apt-get -y install python3 virtualenv python3-setuptools
- virtualenv -p python3 ansible
- source ansible/bin/activate
- pip install ansible
- echo "Installing environment..."
- apt-get -y update
- apt-get -y install python3 virtualenv python3-setuptools
- virtualenv -p python3 ansible
- source ansible/bin/activate
- pip install ansible
unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- echo "Running unit tests..."
- apt-get -y install python3
- source ansible/bin/activate
- which ansible-playbook
- which python
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment