aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis-ci.sh5
-rw-r--r--.travis.yml14
2 files changed, 19 insertions, 0 deletions
diff --git a/.travis-ci.sh b/.travis-ci.sh
index ddfa93d..da36c17 100644
--- a/.travis-ci.sh
+++ b/.travis-ci.sh
@@ -71,6 +71,11 @@ elif [[ $TASK = 'sanitize' ]]; then
travis_fold start "make_sanitize"
make sanitize;
travis_fold end "make_sanitize"
+elif [[ $TASK = 'windows' ]]; then
+ # Run sanitized compile
+ travis_fold start "make_windows"
+ make windows;
+ travis_fold end "make_windows"
else
# Otherwise compile as normal
travis_fold start "make"
diff --git a/.travis.yml b/.travis.yml
index 864c628..ced21ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,6 +29,10 @@ addons:
packages: &core_build_clang_latest
- *core_build
- clang-6.0
+ packages: &core_build_windows
+ - *core_build
+ - mingw-w64
+
matrix:
fast_finish: true
@@ -71,6 +75,16 @@ matrix:
- ubuntu-toolchain-r-test
- os: linux
dist: xenial
+ compiler: mingw-gcc
+ env: TASK='windows'
+ addons:
+ apt:
+ packages:
+ - *core_build_windows
+ sources:
+ - ubuntu-toolchain-r-test
+ - os: linux
+ dist: xenial
compiler: clang
env: TASK='sanitize'
addons: