summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-10-16 11:19:04 -0400
committerRich Salz <rsalz@openssl.org>2015-10-16 11:20:22 -0400
commit1a3ae7883f9cbab9c32a9773882f4b1d7ecf8d31 (patch)
treeb25a62542d7ff82354dc933ee82c121fee07ae6d /.travis.yml
parent1f08d945a79ad79c98fb84167c613934ee96d8e1 (diff)
downloadopenssl-new-1a3ae7883f9cbab9c32a9773882f4b1d7ecf8d31.tar.gz
Run tests on Travis for mingw builds as well
Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 3deea542c2..5d7cf6992a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ addons:
- gcc-5
- binutils-mingw-w64
- gcc-mingw-w64
+ - wine
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
@@ -51,6 +52,10 @@ matrix:
compiler: i686-w64-mingw32-gcc
- os: osx
compiler: x86_64-w64-mingw32-gcc
+ - compiler: i686-w64-mingw32-gcc
+ env: CONFIG_OPTS="shared"
+ - compiler: x86_64-w64-mingw32-gcc
+ env: CONFIG_OPTS="shared"
allow_failures:
- compiler: i686-w64-mingw32-gcc
env: CONFIG_OPTS="--debug --strict-warnings"
@@ -70,7 +75,10 @@ before_script:
script:
- make
- - if [ -z "$CROSS_COMPILE" ]; then make test; fi
+ - if [ -n "$CROSS_COMPILE" ]; then
+ export EXE_SHELL="wine" WINEPREFIX=`pwd`;
+ fi
+ - make test
notifications:
email: