Skip to content

Commit 6a7c25f

Browse files
authored
Use newer XCode and MSVC
1 parent b742b94 commit 6a7c25f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@ matrix:
3939
- MATRIX_EVAL="CMAKE_GENERATOR='Unix Makefiles' && CXX=clang++-10"
4040
- name: Clang 10 on macOS
4141
os: osx
42-
osx_image: xcode10.3 # this image has CLang 10.0.1 (same as Linux) and CMake 3.15
42+
osx_image: xcode12.2 # this image has Clang >10.0.1 and CMake >3.15
4343
env:
4444
- MATRIX_EVAL="CMAKE_GENERATOR='Unix Makefiles' && CXX=clang++"
45-
- name: MSVC 2017 on Windows
45+
- name: MSVC 2019 on Windows
4646
os: windows
4747
env:
48-
- MATRIX_EVAL="CMAKE_GENERATOR='Visual Studio 15 2017'"
48+
- MATRIX_EVAL="CMAKE_GENERATOR='Visual Studio 16 2019'"
4949
before_install:
5050
- eval "${MATRIX_EVAL}"
51+
install:
52+
- if [ $TRAVIS_OS_NAME = 'windows' ]; then choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"; fi
5153
before_script:
5254
- cd build
5355
- cmake -G "$CMAKE_GENERATOR" ..

0 commit comments

Comments
 (0)