mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 05:30:41 +00:00
ad4ea65493
In some situations Travis CI doesn't seem to notice that a build failed and give us a green check mark even though the build didn't succeed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
15 lines
467 B
Bash
15 lines
467 B
Bash
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
# this gets executed by Travis when building an installer for Windows
|
|
# it gets started from inside the subsurface directory
|
|
# with all the other projects downloaded and installed in parralel to
|
|
# subsurface; in order to be compatible with the assumed layout, we
|
|
# need to create the secondary build directory
|
|
cd ${TRAVIS_BUILD_DIR}/..
|
|
mkdir win32
|
|
ls -l
|
|
cd win32
|
|
bash -ex ${TRAVIS_BUILD_DIR}/packaging/windows/mxe-based-build.sh installer
|