2019-04-23 13:56:07 +00:00
|
|
|
variables:
|
2019-04-24 13:05:48 +00:00
|
|
|
# Init submodules.
|
|
|
|
# See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy
|
2019-04-23 13:56:07 +00:00
|
|
|
GIT_SUBMODULE_STRATEGY: "recursive"
|
|
|
|
|
2019-04-24 13:05:48 +00:00
|
|
|
# Use shallow cloning to speed up git clone. This can fail, if retrying an older build on CI
|
|
|
|
# and the old commit is not in the shallow history any more.
|
|
|
|
# See https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
|
|
|
|
GIT_DEPTH: "50"
|
|
|
|
|
|
|
|
# run make paralel
|
|
|
|
MAKEFLAGS: "-j10"
|
|
|
|
|
2019-04-23 13:56:07 +00:00
|
|
|
stages:
|
|
|
|
- environment
|
2019-04-26 13:33:25 +00:00
|
|
|
- prebuild
|
2019-04-23 13:56:07 +00:00
|
|
|
- build
|
|
|
|
- test
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- pipenv install
|
|
|
|
|
2019-04-27 17:16:50 +00:00
|
|
|
include:
|
|
|
|
- ci/environment.yml
|
|
|
|
- ci/prebuild.yml # common, style
|
|
|
|
- ci/core.yml
|
|
|
|
- ci/legacy.yml
|
|
|
|
# - ci/python.yml TODO
|
|
|
|
- ci/crypto.yml
|
|
|
|
- ci/storage.yml
|