Commit d4cd9b72 authored by Jamesie Pic's avatar Jamesie Pic

Gitlab-ci Pipeline configuration

parent 41bff5f9
......@@ -5,12 +5,31 @@ cache:
paths:
- "$CI_PROJECT_DIR/pip-cache"
key: "$CI_PROJECT_ID"
job test:
script:
- tox
stages:
- test
- deploy
before_script:
- pip install --user tox
- export PATH="$HOME/.local/bin:$PATH"
unit:
stage: test
script: tox -e py27
tags: [memopol]
job install:
qa:
stage: test
script: tox -e qa
tags: [memopol]
docs:
stage: test
script: tox -e docs
tags: [memopol]
deploy:
script:
- source /srv/memopol/memopol_env/bin/activate
- cd /srv/memopol/memopol_env/src/memopol/docs
......
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