Skip to content

Commit

Permalink
[travis] explicitly pass build type in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
krrishnarraj committed Feb 6, 2022
1 parent d9d5f2f commit 6d8786b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ before_script:
- cd build

script:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cmake -G "Visual Studio 16 2019" -A x64 .. ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_BUILD_TYPE=Release .. ; fi
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then cmake .. ; fi
- cmake --build . --config Release
- ctest -VV
Expand Down

0 comments on commit 6d8786b

Please sign in to comment.