Commit db931bb2 authored by Plup's avatar Plup

Merge branch 'fix_ci' into 'master'

Fix ci

See merge request !2
parents f6368e63 626fbaff
Pipeline #2572 passed with stage
in 1 minute and 12 seconds
---
image: python:3.6
stages:
- test
- release
test:
stage: test
before_script:
- pip install .[dev]
script:
- python -m unittest
except:
- master
tags:
- sib
publish:
stage: release
before_script:
- git config user.name "${GITLAB_USER_NAME}"
- git config user.email "${GITLAB_USER_EMAIL}"
- git remote set-url origin "https://gitlab-ci-token:${GL_TOKEN}@git.happy-dev.fr/${CI_PROJECT_PATH}.git"
- pip install git+https://github.com/plup/python-semantic-release
- pip install .
script:
- semantic-release publish
only:
- master
tags:
- sib
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