Commit d19b6a35 authored by Jamesie Pic's avatar Jamesie Pic

Merge branch 'pipeline' into 'master'

Pipeline

See merge request !195
parents df8a60ff 2a2f8592
Pipeline #1008 passed with stages
in 9 minutes and 49 seconds
...@@ -5,12 +5,31 @@ cache: ...@@ -5,12 +5,31 @@ cache:
paths: paths:
- "$CI_PROJECT_DIR/pip-cache" - "$CI_PROJECT_DIR/pip-cache"
key: "$CI_PROJECT_ID" key: "$CI_PROJECT_ID"
job test:
script: stages:
- tox - test
- deploy
before_script:
- pip install --user tox
- export PATH="$HOME/.local/bin:$PATH"
unit:
stage: test stage: test
script: tox -e py27
tags: [memopol] tags: [memopol]
job install:
qa:
stage: test
script: tox -e qa
tags: [memopol]
docs:
stage: test
script: git diff --raw HEAD^1 | grep docs || tox -e docs
tags: [memopol]
deploy:
script: script:
- source /srv/memopol/memopol_env/bin/activate - source /srv/memopol/memopol_env/bin/activate
- cd /srv/memopol/memopol_env/src/memopol/docs - 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