]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
travis: bump MSVC to 2019
authorLev Stipakov <lev@openvpn.net>
Sat, 9 Nov 2019 16:40:11 +0000 (18:40 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 9 Nov 2019 17:37:09 +0000 (18:37 +0100)
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>
.travis/build-check.sh
.travis/build-deps.sh

index d2d2e8afbce37e3f4a1267bbd5a87dcdffddd2d4..039a7dcfd769fb6206809327b5e67c6c6ac12c57 100755 (executable)
@@ -2,7 +2,7 @@
 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
 
index 724ff30da310d600204f8fad1729783cc88e5c16..4c5cb05e7128987cb197e46ce5cb7f09b8d07793 100755 (executable)
@@ -3,6 +3,8 @@ set -eux
 
 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