1#!/bin/bash 2 3set -e 4 5if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then 6 echo "Incorrect \$TRAVIS_OS_NAME: expected windows, got $TRAVIS_OS_NAME" 7 exit 1 8fi 9 10$build_env autoconf 11$build_env ./configure $CONFIGURE_FLAGS 12# mingw32-make simply means "make", unrelated to mingw32 vs mingw64. 13# Simply disregard the prefix and treat is as "make". 14$build_env mingw32-make -j3 15# At the moment, it's impossible to make tests in parallel, 16# seemingly due to concurrent writes to '.pdb' file. I don't know why 17# that happens, because we explicitly supply '/Fs' to the compiler. 18# Until we figure out how to fix it, we should build tests sequentially 19# on Windows. 20$build_env mingw32-make tests 21