mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 12:23:43 +01:00
Fixing travis
This commit is contained in:
parent
0007455846
commit
2f89be4ee9
20
configure
vendored
20
configure
vendored
@ -303,13 +303,12 @@ EOF
|
||||
rm ${QP_ROOT}/external/opam_installer.sh
|
||||
source ${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||
|
||||
execute << EOF
|
||||
opam switch create ocaml-base-compiler.4.07.1 || exit 1
|
||||
${QP_ROOT}/bin/opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing
|
||||
opam switch create ocaml-base-compiler.4.07.1
|
||||
opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing
|
||||
|
||||
eval $(${QP_ROOT}/bin/opam env)
|
||||
eval $(opam env)
|
||||
opam install -y ${OCAML_PACKAGES} || exit 1
|
||||
EOF
|
||||
|
||||
else
|
||||
# Conventional commands
|
||||
execute << EOF
|
||||
@ -322,14 +321,13 @@ EOF
|
||||
echo \${QP_ROOT}/bin \
|
||||
| sh \${QP_ROOT}/external/opam_installer.sh
|
||||
EOF
|
||||
execute << EOF
|
||||
rm \${QP_ROOT}/external/opam_installer.sh
|
||||
source \${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||
opam switch create ocaml-base-compiler.4.07.1 || exit 1
|
||||
\${QP_ROOT}/bin/opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing
|
||||
rm \${QP_ROOT}/external/opam_installer.sh
|
||||
source \${OPAMROOT}/opam-init/init.sh > /dev/null 2> /dev/null || true
|
||||
opam switch create ocaml-base-compiler.4.07.1 || exit 1
|
||||
opam init --verbose --yes --compiler=4.07.1 --disable-sandboxing
|
||||
eval $(opam env)
|
||||
EOF
|
||||
execute << EOF
|
||||
eval \$(\${QP_ROOT}/bin/opam env)
|
||||
opam install -y \${OCAML_PACKAGES} || exit 1
|
||||
EOF
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user