Fix cache dir; no cache on the deploy and verify deploy steps

This commit is contained in:
Sumner Evans
2020-05-30 01:10:25 -06:00
parent 0d8c27504f
commit af8c5b35e4
3 changed files with 5 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ variables:
cache:
paths:
- .cache/pip
- .venv/
image: registry.gitlab.com/sumner/sublime-music/python-build:latest
@@ -81,6 +81,7 @@ pages:
deploy_pypi:
image: python:3.8-alpine
stage: deploy
cache: {}
only:
variables:
# Only do a deploy if it's a version tag.
@@ -98,6 +99,7 @@ deploy_pypi:
verify_deploy:
stage: verify
cache: {}
only:
variables:
# Only verify the deploy if it's a version tag.

View File

@@ -3,4 +3,5 @@ export PYENV_ROOT="${HOME}/.pyenv"
export PATH="${PYENV_ROOT}/bin:$PATH"
eval "$(pyenv init -)"
export PIPENV_VENV_IN_PROJECT=1
pipenv install --dev

View File

@@ -1,6 +1,6 @@
[flake8]
extend-ignore = E203, E402, E722, W503, ANN002, ANN003, ANN101, ANN102, ANN204
exclude = .git,__pycache__,build,dist,flatpak
exclude = .git,__pycache__,build,dist,flatpak,.venv
max-line-length = 88
suppress-none-returning = True
suppress-dummy-args = True