Windows build timeout with successful build

After working hard for the Windows build work with autoconf, it now shows another problem: when the script succeeds, it returns:

make[3]: Leaving directory '/c/Users/travis/build/mchehab/zbar'
make[2]: Leaving directory '/c/Users/travis/build/mchehab/zbar'
make[1]: Leaving directory '/c/Users/travis/build/mchehab/zbar'
The command "${TRAVIS_BUILD_DIR}/travis/${TRAVIS_OS_NAME}.${TARGET_OS}.script" exited with 0.

But the jobs keep running until the 10 minutes timeout, causing it to fail at the end:

1 Like

Iā€™m experiencing something similar as the windows jobs timeout without even running the build phases

This hack makes the VM to shutdown:

  - if [ "$TRAVIS_OS_NAME" != "linux" ]; then powershell -executionpolicy bypass "shutdown /f /s";  fi

But it marks the build as failed. As a reference, this is a successful build with the above hack: