Update appveyor.yml

This commit is contained in:
Tomoya Tanjo 2017-08-11 21:55:52 +09:00
parent 5b96e81d1e
commit 682d6a8301
1 changed files with 5 additions and 9 deletions

View File

@ -5,9 +5,9 @@ platform:
environment:
matrix:
- DC: dmd
DVersion: 2.074.0
DVersion: 2.075.0
- DC: ldc
DVersion: 1.1.0
DVersion: 1.3.0
matrix:
allow_failures:
@ -48,13 +48,8 @@ install:
echo "finished.";
pushd c:\\;
7z x ldc.zip > $null;
mv ldc2-$($version)-win$($env:Dmodel)-msvc ldc2;
popd;
}
Invoke-WebRequest "https://code.dlang.org/files/dub-1.1.1-windows-x86.zip" -OutFile "c:\dub.zip";
pushd c:\\;
7z x dub.zip -odub > $null;
popd;
}
- ps: SetUpDCompiler
@ -74,8 +69,9 @@ before_build:
$env:PATH += ";C:\dub";
}
elseif($env:DC -eq "ldc"){
$env:PATH += ";C:\ldc2\bin";
$env:PATH += ";C:\dub";
$version = $env:DVersion;
$model = $env:Dmodel;
$env:PATH += ";C:\ldc2-$($version)-win$($model)-msvc\bin";
$env:DC = "ldc2";
}
- ps: $env:compilersetup = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall";