Fix building unit tests targetting windows

Fixes MSVC's LNK4217 warnings and MinGW errors.
This commit is contained in:
Hyunjin Song
2018-11-13 19:33:28 +09:00
parent d9b91338ea
commit 244b70b4c8
4 changed files with 16 additions and 6 deletions

View File

@@ -24,12 +24,10 @@ else
"$TRAVIS_BUILD_DIR/.travis/$TRAVIS_OS_NAME.$TARGET_OS.script.sh"
make -j4
make tests
if [[ $TARGET_OS != win* ]]; then
make tests
tests/tests
fi
# Package and upload non-tagged builds