Explorar el Código

[AppVeyor] make curl support redirect

Andy Li hace 8 años
padre
commit
46f57bb315
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      appveyor.yml

+ 2 - 2
appveyor.yml

@@ -26,10 +26,10 @@ install:
     - '%CYG_ROOT%/bin/bash -lc "echo initialize"'
     - '%CYG_ROOT%/bin/bash -lc "echo initialize"'
     - choco install curl
     - choco install curl
     # Install ocaml
     # Install ocaml
-    - curl -fsS -o cygwin-setup.exe --retry 3 https://cygwin.com/setup-x86.exe
+    - curl -fsSL -o cygwin-setup.exe --retry 3 https://cygwin.com/setup-x86.exe
     - 'cygwin-setup.exe -g -q -R "%CYG_ROOT%" -P make -P git -P mingw64-i686-zlib -P rsync -P patch -P diffutils -P curl -P unzip -P m4 -P perl -P mingw64-i686-gcc-core -P mingw64-i686-pcre'
     - 'cygwin-setup.exe -g -q -R "%CYG_ROOT%" -P make -P git -P mingw64-i686-zlib -P rsync -P patch -P diffutils -P curl -P unzip -P m4 -P perl -P mingw64-i686-gcc-core -P mingw64-i686-pcre'
     - if not exist "opam32.tar.xz" (
     - if not exist "opam32.tar.xz" (
-        curl -fsS -o opam32.tar.xz --retry 3 https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.1/opam32.tar.xz
+        curl -fsSL -o opam32.tar.xz --retry 3 https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.1/opam32.tar.xz
       )
       )
     - 7z x "opam32.tar.xz" -so | 7z x -aoa -si -ttar
     - 7z x "opam32.tar.xz" -so | 7z x -aoa -si -ttar
     - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && bash opam32/install.sh"'
     - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && bash opam32/install.sh"'