From 8e8dc921a3a8bcb21e1f5d9ccdcfb108ad0f55f9 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 10 Jul 2019 03:25:52 +0300 Subject: [PATCH] travis: try build packages on regular builds (#2244) Signed-off-by: Ruslan Kuprieiev --- scripts/build_windows.cmd | 5 +++++ scripts/ci/before_deploy.sh | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) 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