mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Require Python3 for running tests
This commit is contained in:
parent
6020f8f27c
commit
2ccc48e108
@ -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()
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user