appveyor: disable windows defender

This commit is contained in:
Bill Zissimopoulos 2017-03-19 11:52:14 -07:00
parent 67dff84a13
commit 4f640755bc

View File

@ -15,11 +15,13 @@ install:
- bcdedit /set testsigning on - bcdedit /set testsigning on
- if %TESTING%==Func verifier /standard /driver winfsp-x64.sys - if %TESTING%==Func verifier /standard /driver winfsp-x64.sys
- if exist %SystemRoot%\memory.dmp del %SystemRoot%\memory.dmp - if exist %SystemRoot%\memory.dmp del %SystemRoot%\memory.dmp
- ps: Set-MpPreference -DisableRealtimeMonitoring $true
- ps: Restart-Computer -Force - ps: Restart-Computer -Force
- ps: Start-Sleep -s 60 - ps: Start-Sleep -s 60
build_script: build_script:
- appveyor AddMessage "Reboot complete" -Category Information - appveyor AddMessage "Reboot complete" -Category Information
- ps: Get-MpPreference | FL *RealtimeMonitoring
- tools\build.bat %CONFIGURATION% - tools\build.bat %CONFIGURATION%
test_script: test_script: