Skip to contentSkip to conversation

travis: bump MSVC to 2019

PATCH In review Lev Stipakov 3 participants 3 messages Nov 9, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis: bump MSVC to 2019

From: Lev Stipakov <[email protected]...>

Since we changed MSVC version in project files to 2019, we have to do the same in travis script.

---
 .travis/build-check.sh | 2 +-
 .travis/build-deps.sh  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
.travis/build-check.sh +1 -1
index d2d2e8a..039a7dc 100755
@@ -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
 
.travis/build-deps.sh +2 -0
index 724ff30..4c5cb05 100755
@@ -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
Signature · 1 line
2.7.4
#2 lore raw
In reply to Lev Stipakov

Your patch has been applied to the master branch.

commit b8b3f1177e48678e3bbe955634fe412d5515fab0

Author: Lev Stipakov
Date:   Sat Nov 9 18:40:11 2019 +0200
     travis: bump MSVC to 2019

     Signed-off-by: Lev Stipakov <[email protected]...>
     Acked-by: Simon Rozman <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg19074.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering