Skip to content

Commit

Permalink
Merge pull request #114 from Illumina/fix-appveyor
Browse files Browse the repository at this point in the history
Update cache when swig fails
  • Loading branch information
ezralanglois authored Mar 20, 2017
2 parents b5dadfc + cdd527e commit 7cebebf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,14 @@ install:
if (Test-Path "C:/ProgramData/chocolatey/bin/swig.exe") {
C:/ProgramData/chocolatey/bin/swig.exe -swiglib
if ($lastexitcode -ne 0) {
echo "using swig from cache"
echo "Installing swig from cache"
choco install swig --version 3.0.5 -y > $null
}
else{
choco install swig --version 3.0.5 -y > $null
echo "using swig from cache"
}
} else {
echo "Installing swig from cache"
choco install swig --version 3.0.5 -y > $null
}
- if not exist "%MINGW_ARCHIVE%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_ARCHIVE%"
Expand Down

0 comments on commit 7cebebf

Please sign in to comment.