Commit 7452b831 authored by Henri Cazottes's avatar Henri Cazottes
Browse files

feat(heptapod): add gitlab-ci config file in new cube skeleton

parent 219cfa879933
Pipeline #8260 failed with stages
in 8 minutes and 57 seconds
image: python
stages:
- tests
- after-tests
before_script:
- pip install tox
py3:
stage: tests
script: tox -e py3
flake8:
stage: tests
script: tox -e flake8
check-manifest:
stage: tests
script: tox -e check-manifest
black:
stage: tests
script: tox -e black
# If you have mypy set up
# mypy:
# stage: tests
# script: tox -e mypy
# If you have your project on readthedocs, you can automatically trigger its
# build by setting:
# - READTHEDOCS_TOKEN
# - READTHEDOCS_ID
# in your heptapod project Settings > CI/CD > Variables.
# You can find those secrets by creating a new integration in your readthedocs
# project here: https://readthedocs.org/dashboard/cubicweb_%(cubename)s/integrations/
#
# Related documentation:
# https://docs.readthedocs.io/en/latest/webhooks.html#using-the-generic-api-integration
#
# trigger-readthedocs:
# only:
# refs:
# - branch/default
# stage: after-tests
# script:
# # regarding the " everywhere when there is a '%%': yaml is extremly weird when %% are involved
# - curl -X POST -d "token=${READTHEDOCS_TOKEN}" https://readthedocs.org/api/v2/webhook/cubicweb_%(cubename)s/${READTHEDOCS_ID} -w "\nhttp code:"\ "%%{http_code}\n" -f
......@@ -19,7 +19,8 @@ Added
- pyramid: add routes /{eid} and /{etype}/{eid} to return RDF when rdf mimetype in Accept HTTP headers
- entities: simplify rdf generation and add a generic rdf adapter
- web.views: add Link alternate in HTTP response header in HTML view
- Black and Mypy config in tox.ini file of new cube skeleton
- Black and Mypy config in tox.ini file in new cube skeleton
- Gitlab CI config file in new cube skeleton
Changed
......
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