travis: Test windows.

This commit is contained in:
orbea 2019-10-16 07:05:33 -07:00
parent eaa744cc2e
commit cc2ff47ab4
1 changed files with 6 additions and 2 deletions

View File

@ -22,9 +22,13 @@ matrix:
os: osx os: osx
osx_image: xcode10.2 osx_image: xcode10.2
install: export PATH="/usr/local/opt/ccache/libexec:$PATH" install: export PATH="/usr/local/opt/ccache/libexec:$PATH"
- env: BUILD_ENV=windows
os: windows
before_install: before_install:
- | - |
CMAKE=cmake
case "$BUILD_ENV" in case "$BUILD_ENV" in
mingw-w64 ) mingw-w64 )
ARG=MinGW-w64-x86_64 ARG=MinGW-w64-x86_64
@ -34,8 +38,8 @@ before_install:
ARG=MinGW-w64-i686 ARG=MinGW-w64-i686
CMAKE=/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-cmake CMAKE=/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-cmake
;; ;;
* ) windows )
CMAKE=cmake choco install msys2 pkgconfiglite
;; ;;
esac esac
- | - |