Move appveyor env var setting our of install steps.

This commit is contained in:
Corey Farwell 2016-03-22 23:30:58 -04:00
parent 003fdd4176
commit 1a77ccf3d0

View file

@ -1,5 +1,10 @@
version: 1.0.{build}
environment:
PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
MSYSTEM: 'MSYS'
MSYS: 'winsymlinks=lnk'
branches:
only:
- master
@ -13,9 +18,6 @@ cache:
- .cargo
install:
- set MSYSTEM=MSYS
- set MSYS="winsymlinks=lnk"
- PATH C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%
- bash -lc "echo $MSYSTEM; pacman --needed --noconfirm -Sy pacman-mirrors"
- bash -lc "pacman --noconfirm -Sy"
- bash -lc "pacman -Sy --needed --noconfirm git mingw-w64-x86_64-toolchain mingw-w64-x86_64-freetype mingw-w64-x86_64-icu mingw-w64-x86_64-nspr mingw-w64-x86_64-ca-certificates mingw-w64-x86_64-expat mingw-w64-x86_64-cmake tar diffutils patch patchutils make python2-setuptools"
@ -31,4 +33,4 @@ build_script:
bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./mach build -d -v"
test: off
test: off