Skip to contentSkip to conversation

Retire the "let Travis trigger a Windows build" hack

PATCH New Johannes Schindelin via GitGitGadget 1 participant 2 messages Feb 28, 2019

lore
Share & tools
lore
#0 lore raw

cover Retire the "let Travis trigger a Windows build" hack

We have something much better now: a real Azure Pipeline. Not only is it a lot faster (due to parallelizing the test suite), it also won't time out waiting for the Windows job to start.

Johannes Schindelin (1):
travis: remove the hack to build the Windows job on Azure Pipelines

 .travis.yml             |  10 ----
 ci/run-windows-build.sh | 103 ----------------------------------------
 2 files changed, 113 deletions(-)
 delete mode 100755 ci/run-windows-build.sh

base-commit: 8104ec994ea3849a968b4667d072fedd1e688642
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-154%2Fdscho%2Fremove-travis-windows-hack-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-154/dscho/remove-travis-windows-hack-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/154

Signature · 1 line
gitgitgadget
#1 lore raw

PATCH 1/1 travis: remove the hack to build the Windows job on Azure Pipelines

From: Johannes Schindelin <[email protected]>

Since Travis did not support Windows (and now only supports very limited Windows jobs, too limited for our use, the test suite would time out *all* the time), we added a hack where a Travis job would trigger an Azure Pipeline (which back then was still called VSTS Build), wait for it to finish (or time out), and download the log (if available).

Needless to say that it was a horrible hack, necessitated by a bad situation.

Nowadays, however, we have Azure Pipelines support, and do not need that hack anymore. So let's retire it.

---
 .travis.yml             |  10 ----
 ci/run-windows-build.sh | 103 ----------------------------------------
 2 files changed, 113 deletions(-)
 delete mode 100755 ci/run-windows-build.sh
.travis.yml +0 -10
index 36cbdea7f4..ffb1bc46f2 100644
@@ -21,16 +21,6 @@ matrix:
       compiler:
       addons:
       before_install:
-    - env: jobname=Windows
-      os: linux
-      compiler:
-      addons:
-      before_install:
-      script:
-        - >
-          test "$TRAVIS_REPO_SLUG" != "git/git" ||
-          ci/run-windows-build.sh $TRAVIS_BRANCH $(git rev-parse HEAD)
-      after_failure:
     - env: jobname=Linux32
       os: linux
       compiler:
ci/run-windows-build.sh deleted +0 -103

103 lines not on this page · raw message

Signature · 1 line
gitgitgadget