aboutsummaryrefslogtreecommitdiff
path: root/.travis
diff options
context:
space:
mode:
authorLev Stipakov2019-11-09 18:40:11 +0200
committerGert Doering2019-11-09 18:37:09 +0100
commitb8b3f1177e48678e3bbe955634fe412d5515fab0 (patch)
tree98c835b0f04f460c9aebd2b833a5691fc79272af /.travis
parent6c39b4dc4766594c6517043af59aeea53ea009d0 (diff)
downloadopenvpn-b8b3f1177e48678e3bbe955634fe412d5515fab0.zip
openvpn-b8b3f1177e48678e3bbe955634fe412d5515fab0.tar.gz
travis: bump MSVC to 2019
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>
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/build-check.sh2
-rwxr-xr-x.travis/build-deps.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/.travis/build-check.sh b/.travis/build-check.sh
index d2d2e8a..039a7dc 100755
--- a/.travis/build-check.sh
+++ b/.travis/build-check.sh
@@ -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
diff --git a/.travis/build-deps.sh b/.travis/build-deps.sh
index 724ff30..4c5cb05 100755
--- a/.travis/build-deps.sh
+++ b/.travis/build-deps.sh
@@ -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