Since we changed MSVC version in project files to 2019,
we have to do the same in travis script.
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Simon Rozman <simon@rozman.si>
Message-Id: <
1573317611-6462-1-git-send-email-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19074.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
set -eux
if [ "${TRAVIS_OS_NAME}" = "windows" ]; then
- PATH="/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin/":$PATH
+ PATH="/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/MSBuild/Current/Bin/":$PATH
MSBuild.exe openvpn.sln //p:Platform=x64 && exit 0
fi
if [ "${TRAVIS_OS_NAME}" = "windows" ]; then
choco install strawberryperl nasm
+ choco install visualstudio2019buildtools --package-parameters "--includeRecommended --includeOptional"
+ choco install visualstudio2019-workload-vctools
cd ..
git clone https://github.com/openvpn/openvpn-build.git
cd openvpn-build