diff options
| author | Théo Zimmermann | 2018-05-14 11:52:51 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-05-14 11:52:51 +0200 |
| commit | b08a074b6430e1f273d7ea0bd6f14463e32a6135 (patch) | |
| tree | 2f3fe0627fa814659e630082b6360dc5042aa0bf /dev | |
| parent | 4094a8c2cac668db112fc84f5d1b287eacbf6700 (diff) | |
Pick up user overlays when running GitLab CI on PRs.
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/ci/ci-common.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/ci/ci-common.sh b/dev/ci/ci-common.sh index 189734a0bc..2a14ed352a 100644 --- a/dev/ci/ci-common.sh +++ b/dev/ci/ci-common.sh @@ -10,6 +10,10 @@ if [ -n "${GITLAB_CI}" ]; then export COQBIN="$PWD/_install_ci/bin" export CI_BRANCH="$CI_COMMIT_REF_NAME" + if [[ ${CI_BRANCH#pr-} =~ ^[0-9]*$ ]] + then + export CI_PULL_REQUEST="${CI_BRANCH#pr-}" + fi else if [ -n "${TRAVIS}" ]; then |
