diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 080607f38260a39693df148e0d735022af755a9c..d5e2a225f6ffb4be1108a022589a362c037c72a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: ${CI_REGISTRY_IMAGE} stages: - test + - build doxec_unittest: stage: test @@ -23,3 +24,15 @@ README: - python3 setup.py install - bin/doxec --color README.md +badges: + image: python:3.7 + stage: build + script: + - pip install anybadge . + - anybadge -o --color teal -l License -v "MIT" -f license.svg + - anybadge -o --color "#006dad" -l PyPI -v $(python -c "import doxec; print(doxec.__version__)") -f pypi.svg + dependencies: [] + artifacts: + paths: + - "*.svg" + expire_in: never diff --git a/README.md b/README.md index 5f722ede40f4689d07c843aebcd4091b1743c69d..a1808dba6237894de2020bbeb372b8416e6251d2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + +[](https://gitlab.sauerburger.com/frank/doxec/-/pipelines) +[](https://gitlab.sauerburger.com/frank/doxec/-/blob/master/LICENSE) +[](https://pypi.org/project/doxec/) + + Have you ever come across a tutorial or a documentation, which showed some example code snippets, which turned out to contain bugs, or are not in-sync with the most recent version of the software? I guess, everyone has, and it @@ -12,7 +18,7 @@ which parses codes examples from a documentation or a tutorial and runs them. This ensures that the code snippets work as intended. -# Installation [](https://gitlab.sauerburger.com/frank/doxec/commits/master) +# Installation You can install the package using pip