diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-05-16 18:37:24 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-05-16 19:40:45 +0200 |
commit | 88c7582a51eb2fc71a80291fa6dab16476ae55d8 (patch) | |
tree | 26566b27922e7bf5b2ba49356f03d03c89474b4a /.gitlab-ci.yml | |
parent | df2fb6387dc8523a26ef8ec15f80d86b2e1d0921 (diff) | |
download | epubgrep-88c7582a51eb2fc71a80291fa6dab16476ae55d8.tar.gz |
chore: switch from setup.py to pyproject.toml0.10.0
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index e8a5795..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,48 +0,0 @@ -image: python:latest - -# Change pip's cache directory to be inside the project directory since we can -# only cache local items. -variables: - PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" - -# Pip's cache doesn't store the python packages -# https://pip.pypa.io/en/stable/reference/pip_install/#caching -# -# If you want to also cache the installed packages, you have to install -# them in a virtualenv and cache it as well. -cache: - paths: - - .cache/pip - - venv/ - -before_script: - - python -V # Print out python version for debugging - - pip install virtualenv - - virtualenv venv - - source venv/bin/activate - -test: - script: - - pip install flake8 - - python setup.py -v test - - flake8 epubgrep.py setup.py tests/__init__.py tests/test_epugrep.py - -run: - script: - - python setup.py bdist_wheel - # run the command here - - ls -l dist/ - artifacts: - paths: - - dist/*.whl - -# pages: -# script: -# - pip install sphinx sphinx-rtd-theme -# - cd doc ; make html -# - mv build/html/ ../public/ -# artifacts: -# paths: -# - public -# only: -# - master |