Skip to content
Snippets Groups Projects
Commit 7bc1f0db authored by Gottfried Gaisbauer's avatar Gottfried Gaisbauer
Browse files

trying to set a before_script, install requirements and run a simple test

parent bc18eb10
No related branches found
No related tags found
No related merge requests found
...@@ -5,17 +5,18 @@ stages: ...@@ -5,17 +5,18 @@ stages:
before_script: before_script:
- apt-get -q update && apt-get install -y python3-virtualenv - apt-get -q update && apt-get install -y python3-virtualenv
- virtualenv venv - echo $PATH
- . venv/bin/activate - /usr/bin/virtualenv venv
- . venv/bin/source activate
- python -V - python -V
- pip3 install requirements.txt - pip3 install requirements.txt
- mkdir /etc/aura
- mkdir /var/log/aura
- cp ./configuration/engine.ini /etc/aura/
install_dependencies: simple_guru_help:
stage: test stage: test
script: script:
- pip3 install -r requirements.txt
- whoami - whoami
- mkdir /etc/aura
- mkdir /var/log/aura
- cp ./configuration/engine.ini /etc/aura/
- python3 guru.py -h - python3 guru.py -h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment