summaryrefslogtreecommitdiffstats
path: root/scripts/windows/travisbuild.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-11 09:38:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-11 17:48:57 -0800
commit4d04f74312dc4a7fe75a442cf22a2901ede28d1a (patch)
tree3e96341392822a4d4a038b0a72efa174191ce535 /scripts/windows/travisbuild.sh
parenta157fa5c6778543be5981bc2384dac563436a1f9 (diff)
downloadsubsurface-4d04f74312dc4a7fe75a442cf22a2901ede28d1a.tar.gz
Travis: also build an MXE/Windows installer
In the process, simplify our dependency a bit by no longer building against libssh2 (we don't support ssh based authentication for git on Windows) and libcurl (since it's proxy implementation doesn't appear to actually work on Windows, anyway). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/windows/travisbuild.sh')
-rw-r--r--scripts/windows/travisbuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/windows/travisbuild.sh b/scripts/windows/travisbuild.sh
new file mode 100644
index 000000000..e8455ea87
--- /dev/null
+++ b/scripts/windows/travisbuild.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# 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