From aa0592f02573636013c44209ba9de507a6f3bb7c Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Fri, 24 Feb 2017 22:52:35 +0100 Subject: [PATCH] travis-ci: fixed mingw cross compile build fixes #906 --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7666af8d..ced10f05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,11 +44,6 @@ matrix: env: HOST=x86_64-w64-mingw32 - os: linux env: HOST=i686-w64-mingw32 - allow_failures: - - os: linux - env: HOST=x86_64-w64-mingw32 - - os: linux - env: HOST=i686-w64-mingw32 before_script: - ./bootstrap @@ -83,6 +78,13 @@ script: wine "C:/Program Files (x86)/Inno Setup 5/ISCC.exe" win32/OpenSC.iss; fi +after_script: + # kill process started during compilation to finish the build, see + # https://github.com/moodlerooms/moodle-plugin-ci/issues/33 for details + - if [ ! -z "$HOST" -a "${COVERITY_SCAN_BRANCH}" != 1 ]; then + killall services.exe; + fi + before_install: - if [ "$TRAVIS_OS_NAME" != "linux" ]; then