summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-06 10:11:15 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-07 14:00:45 -0700
commit450f654063cbbffe7b58e0b785ef8970a0be41ea (patch)
tree5295dbd03a6fb7faee6759b3e9ec288063b0b4de /.travis.yml
parent6b9e77ba01472070dd1ac9b87c9dcb068c49b852 (diff)
downloadsubsurface-450f654063cbbffe7b58e0b785ef8970a0be41ea.tar.gz
Travis: add Windows build in a container
I expect this to become the default way to test Windows builds and create installers on Travis. The idea is that instead of downloading the pre-built MXE binaries we might as well use a container that has all this installed and can be used locally to test if things fail on Travis; which will allow us to have the exact same environment for testing locally as runs on Travis. At this point the container used is way too big - more effort needs to be spent on shrinking it. Right now this only deals with Subsurface and not with smtk2ssrf. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b0751246c..a0c48f767 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,6 +18,13 @@ matrix:
sudo: required
language: c++
+ - env: SUBSURFACE_PLATFORM='windows-container'
+ os: linux
+ filter_secrets: false
+ language: c++
+ services:
+ - docker
+
- env: SUBSURFACE_PLATFORM='linux'
os: linux
dist: trusty