Commit b582ab47 authored by Ralf Jung's avatar Ralf Jung
Browse files

Update opam-ci

parent 48f8e008
...@@ -10,9 +10,11 @@ export OPAM_EDITOR="$(which false)" ...@@ -10,9 +10,11 @@ export OPAM_EDITOR="$(which false)"
# Make sure we got a good OPAM # Make sure we got a good OPAM
test -d "$OPAMROOT" || (mkdir "$OPAMROOT" && opam init --no-setup -y) test -d "$OPAMROOT" || (mkdir "$OPAMROOT" && opam init --no-setup -y)
eval `opam conf env` eval `opam conf env`
if test $(find "$OPAMROOT/repo/package-index" -mtime 1); then if test $(find "$OPAMROOT/repo/package-index" -mtime +0); then
# last update was more than a day ago # last update was more than a day ago
opam update opam update
else
echo "[opam-ci] Not updating opam."
fi fi
test -d "$OPAMROOT/repo/coq-extra-dev" || opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev -p 5 test -d "$OPAMROOT/repo/coq-extra-dev" || opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev -p 5
test -d "$OPAMROOT/repo/coq-core-dev" || opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev -p 5 test -d "$OPAMROOT/repo/coq-core-dev" || opam repo add coq-core-dev https://coq.inria.fr/opam/core-dev -p 5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment