Commit 060daee1 authored by Nicolas Mérigot's avatar Nicolas Mérigot

feature: add ci/cd

parent 72d276c8
Pipeline #1809 passed with stage
in 29 seconds
---
image: python:3.6
stages:
- test
- release
test:
stage: test
script:
- echo 'Make your tests here !'
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 sib-commit-parser
script:
- semantic-release publish
only:
- master
tags:
- sib
__version__ = '0.0.0'
name = "djangoldp_joboffer"
[metadata]
name = djangoldp_joboffer
version = attr: djangoldp_joboffer.__version__
url = http://git.happy-dev.fr/startinblox/djangoldp_joboffer
author = Startin'blox
author_email = nicolas@happy-dev.fr
description = djangoldp package for job offer data models
license = MIT
[options]
packages = find:
install_requires =
djangoldp~=0.5
djangoldp_skill~=0.0
[semantic_release]
version_source = tag
version_variable = djangoldp_joboffer/__init__.py:__version__
commit_parser = commit_parser.parse
import os
from setuptools import setup, find_packages
#!/usr/bin/env python
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
from setuptools import setup
setup(name='djangoldp_joboffer',
version='0.0.3',
description='djangoldp package for job offer data models',
url='http://git.happy-dev.fr/startinblox/djangoldp_joboffer',
author="Startin'blox",
author_email='nicolas@happy-dev.fr',
license='MIT',
packages=find_packages(),
zip_safe=False)
setup()
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