aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-common.sh
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2017-09-20 15:11:08 +0200
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2017-09-20 15:11:08 +0200
commitcb121381aea4eff595ee9322fa8dca9959e51a59 (patch)
tree59a9ff4fefc5927cec64f99d079af8ad96693f07 /dev/ci/ci-common.sh
parent9933871efd122163f7e2dfe8377b9b2dd384b47b (diff)
In gitlab set TRAVIS_BRANCH so user overlays will work as expected.
Diffstat (limited to 'dev/ci/ci-common.sh')
-rw-r--r--dev/ci/ci-common.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/ci/ci-common.sh b/dev/ci/ci-common.sh
index 358f527f9..1bfdf7dfb 100644
--- a/dev/ci/ci-common.sh
+++ b/dev/ci/ci-common.sh
@@ -5,6 +5,7 @@ set -xe
if [ -n "${GITLAB_CI}" ];
then
export COQBIN=`pwd`/_install_ci/bin
+ export TRAVIS_BRANCH="$CI_COMMIT_REF_NAME"
else
export COQBIN=`pwd`/bin
fi