Fix Appveyor hang on master (#14803)

This commit is contained in:
GustavoLCR 2019-08-14 23:47:48 -03:00 committed by Anton Kochkov
parent c38dd8d4bb
commit e915bfa2db
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ test_script:
- git clone https://github.com/radare/radare2-regressions
- cd radare2-regressions/new
- ps: $env:pull_owner=($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME -split "/")[0]
- git fetch https://github.com/%pull_owner%/radare2-regressions %APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%:%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH% && git checkout %APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH% || (echo Using master & exit /b 0)
- ps: if (-not [string]::IsNullOrWhiteSpace($env:pull_owner)) {cmd /c "(git fetch https://github.com/%pull_owner%/radare2-regressions %APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%:%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH% && git checkout %APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%) > nul 2>&1 || exit 0"} else {echo "Using master"}
- npm install
- set NOOK=1
- node_modules/.bin/r2r