aboutsummaryrefslogtreecommitdiff
path: root/dev/ci
diff options
context:
space:
mode:
authorGaëtan Gilbert2017-05-27 16:00:53 +0200
committerGaëtan Gilbert2017-05-28 12:52:55 +0200
commit149b0c422027a31972b62457af1bf97bd016e26c (patch)
tree32f5267f4f24086018d1c04e71a236392f089993 /dev/ci
parent2eb27e56ea4764fa2f2acec6f951eef2642ff1be (diff)
Gitlab CI
Diffstat (limited to 'dev/ci')
-rw-r--r--dev/ci/ci-common.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/dev/ci/ci-common.sh b/dev/ci/ci-common.sh
index 2711b7ecaa..f1e1515d41 100644
--- a/dev/ci/ci-common.sh
+++ b/dev/ci/ci-common.sh
@@ -2,11 +2,18 @@
set -xe
+if [ -n "${GITLAB_CI}" ];
+then
+ export COQBIN=`pwd`/install/bin
+else
+ export COQBIN=`pwd`/bin
+fi
+export PATH="$COQBIN:$PATH"
+
# Coq's tools need an ending slash :S, we should fix them.
-export COQBIN=`pwd`/bin/
-export PATH=`pwd`/bin:$PATH
+export COQBIN="$COQBIN/"
-ls `pwd`/bin
+ls "$COQBIN"
# Where we clone and build external developments
CI_BUILD_DIR=`pwd`/_build_ci