diff --git a/scripts/build_windows.cmd b/scripts/build_windows.cmd index d05c2e92d..022abdafc 100755 --- a/scripts/build_windows.cmd +++ b/scripts/build_windows.cmd @@ -12,6 +12,11 @@ del /Q /S "dvc-*.exe" where pip if %errorlevel% neq 0 (echo Error: pip not found && goto :error) +where choco +if %errorlevel% neq 0 (echo Error: choco not found && goto :error) + +choco install InnoSetup + if not exist "C:\Program Files (x86)\Inno Setup 5\ISCC.exe" (echo Error: Couldn't find Inno Setup compiler. Please go to jrsoftware.org/isinfo.php and install Inno Setup 5 && goto :error) echo ====== Installing requirements... ====== diff --git a/scripts/ci/before_deploy.sh b/scripts/ci/before_deploy.sh index f314b05d2..99f373675 100644 --- a/scripts/ci/before_deploy.sh +++ b/scripts/ci/before_deploy.sh @@ -3,11 +3,6 @@ set -x set -e -if [[ -z "$TRAVIS_TAG" && "$TRAVIS_EVENT_TYPE" != "cron" ]]; then - echo "Skipping building package." - exit 0 -fi - ./scripts/build_package.sh if [[ -n "$TRAVIS_TAG" ]]; then