travis-ci: fixed mingw cross compile build

fixes #906
This commit is contained in:
Frank Morgner 2017-02-24 22:52:35 +01:00
parent 777e2a3751
commit aa0592f025
1 changed files with 7 additions and 5 deletions

View File

@ -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