Require Python3 for running tests

This commit is contained in:
Martin Hořeňovský 2020-05-06 12:39:26 +02:00
parent 6020f8f27c
commit 2ccc48e108
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ add_subdirectory(src)
# Build tests only if requested # Build tests only if requested
if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT) if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT)
find_package(PythonInterp) find_package(PythonInterp 3 REQUIRED)
if (NOT PYTHONINTERP_FOUND) if (NOT PYTHONINTERP_FOUND)
message(FATAL_ERROR "Python not found, but required for tests") message(FATAL_ERROR "Python not found, but required for tests")
endif() endif()

View File

@ -13,7 +13,7 @@ branches:
# We need a more up to date pip because Python 2.7 is EOL soon # We need a more up to date pip because Python 2.7 is EOL soon
init: init:
- set PATH=C:\Python35\Scripts;%PATH% - set PATH=C:\Python35;C:\Python35\Scripts;%PATH%
install: install: