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

Update opam-ci

parent 48f8e008
Pipeline #3942 passed with stage
in 3 minutes and 46 seconds
......@@ -10,9 +10,11 @@ export OPAM_EDITOR="$(which false)"
# Make sure we got a good OPAM
test -d "$OPAMROOT" || (mkdir "$OPAMROOT" && opam init --no-setup -y)
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
opam update
echo "[opam-ci] Not updating opam."
test -d "$OPAMROOT/repo/coq-extra-dev" || opam repo add coq-extra-dev -p 5
test -d "$OPAMROOT/repo/coq-core-dev" || opam repo add coq-core-dev -p 5
Supports Markdown
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