1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

ci: improve pipenv caching

This commit is contained in:
Tomas Susanka 2019-04-29 09:54:15 +02:00
parent 5f1586e049
commit 3909e727b0
2 changed files with 8 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.attic/
.cache/
.venv/
.idea/
.mypy_cache/
.pytest_cache/

View File

@ -1,9 +1,9 @@
variables:
# Using git fetch is faster.
# Using git fetch is faster
# See https://docs.gitlab.com/ce/user/project/pipelines/settings.html#git-strategy
GIT_STRATEGY: "fetch"
# Init submodules.
# Init submodules
# See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy
GIT_SUBMODULE_STRATEGY: "recursive"
@ -12,9 +12,13 @@ variables:
# See https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
GIT_DEPTH: "50"
# run make paralel
# Run `make` in parallel
MAKEFLAGS: "-j10"
# Pipenv cache
PIPENV_VENV_IN_PROJECT: "true"
PIPENV_CACHE_DIR: ".cache/"
stages:
- environment
- prebuild